tldr/pages/common/rustc.md

17 lines
259 B
Markdown
Raw Normal View History

2016-05-05 04:51:41 +03:00
# rustc
> The Rust compiler.
2016-05-05 20:01:04 +03:00
> Processes, compiles and links Rust language source files.
2016-05-05 04:51:41 +03:00
- Compile a single file:
`rustc {{file.rs}}`
- Compile with high optimization:
`rustc -O {{file.rs}}`
- Compile with debugging information:
`rustc -g {{file.rs}}`