Did you know there is a command to check if the Rust project compiles without producing any executables?

Did you know there is a command to check if the Rust project compiles without producing any executables?

Cargo is a rust package manager.

Cargo also provides a command called cargo check. This command quickly checks your code to make sure it compiles but doesn’t produce an executable.


$ cargo check