1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:17:57 +01:00
tldr/pages/common/rustc.md

314 B

rustc

The Rust compiler. Processes, compiles and links Rust language source files. More information: https://doc.rust-lang.org/rustc.

  • Compile a single file:

rustc {{file.rs}}

  • Compile with high optimization:

rustc -O {{file.rs}}

  • Compile with debugging information:

rustc -g {{file.rs}}