1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 16:22:08 +02:00
tldr/pages/common/rustc.md
2016-05-06 11:59:33 -05:00

16 lines
259 B
Markdown

# rustc
> The Rust compiler.
> Processes, compiles and links Rust language source files.
- Compile a single file:
`rustc {{file.rs}}`
- Compile with high optimization:
`rustc -O {{file.rs}}`
- Compile with debugging information:
`rustc -g {{file.rs}}`