💾 Archived View for freeshell.de › tldr › cargo-rustc.gmi captured on 2022-06-11 at 21:30:57. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Compile a Rust package, and pass extra options to the compiler.
cargo rustc
cargo rustc --release
cargo rustc --release -- -C target-cpu=native
cargo rustc -- -C opt-level {1|2|3}
cargo rustc -- -C opt-level {s|z}
cargo rustc --lib -- -D unsafe-code
cargo rustc --package {package}
cargo --bin {name}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).