Rust toolchain for building really small static binaries, without excluding the whole std
lib.
The default target (x86_64-unknown-linux-musl
) gives you a ~50 KiB statically linked "Hello World" binary.
- Include both config.toml and rust-toolchain.toml in your project.
- Build with
cargo release-no-panic
when you want a release build without the standard RUST panic handler.