Roadmaps / Rust / Setup and lab safety
Read first
Setup and lab safety
You need one laptop with 8 GB of RAM or more, rustup with the stable toolchain and a nightly toolchain (Miri and loom need it), Git, Docker and Python for Week 15. Everything is free. Linux or macOS works; crash tests are easiest on Linux.
| Risk | Rule |
|---|---|
| Crash tests damage files | Run kill -9 and disk-full tests on a scratch directory or a throwaway container only. |
| Fuzzing runs for hours | Fuzz your own parser with your own corpus in a throwaway directory. Never fuzz a service you do not own. |
| Dependencies run build scripts | Read build.rs files of new crates in a throwaway project first. The milestone has a dependency budget (Week 14). |
unsafe can corrupt your machine's data | Keep your one unsafe module small, test it under Miri and never run it on real data until it passes. |