sudo apt-get install rustc
Rust
would be through rustup
: https://www.rustup.rs/
rustc
) which is called by cargo
. You can use #[allow(dead_code)]
in the code. This is called an attribute https://doc.rust-lang.org/book/attributes.html.