1
0
Daniel Campoverde [alx741] 9 жил өмнө
parent
commit
de5e247966
1 өөрчлөгдсөн 19 нэмэгдсэн , 0 устгасан
  1. 19 0
      pages/common/rustc.md

+ 19 - 0
pages/common/rustc.md

@@ -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}}`