rustc: add page

waldyrious/alt-syntax
Daniel Campoverde [alx741] 2016-05-04 20:51:41 -05:00
parent b61acdf8a0
commit de5e247966
1 changed files with 19 additions and 0 deletions

19
pages/common/rustc.md Normal file
View File

@ -0,0 +1,19 @@
# rustc
> The Rust compiler.
- Compile a single file:
`rustc {{file.rs}}`
- Compile with high optimization:
`rustc -O {{file.rs}}`
- Compile with debugging information:
`rustc -g {{file.rs}}`
- Build a test harness:
`rustc --test {{file.rs}}`