knaxuslearn · build · ship

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.

RiskRule
Crash tests damage filesRun kill -9 and disk-full tests on a scratch directory or a throwaway container only.
Fuzzing runs for hoursFuzz your own parser with your own corpus in a throwaway directory. Never fuzz a service you do not own.
Dependencies run build scriptsRead 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 dataKeep your one unsafe module small, test it under Miri and never run it on real data until it passes.