16
pages/common/rustc.md
Normal file
16
pages/common/rustc.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# 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}}`
|
Reference in New Issue
Block a user