From de5e247966926bd0deb1ef420c234b8a02d674f4 Mon Sep 17 00:00:00 2001 From: "Daniel Campoverde [alx741]" Date: Wed, 4 May 2016 20:51:41 -0500 Subject: [PATCH 1/3] rustc: add page --- pages/common/rustc.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/rustc.md diff --git a/pages/common/rustc.md b/pages/common/rustc.md new file mode 100644 index 000000000..07bf0a82a --- /dev/null +++ b/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}}` From a923bc13e19f26aef5c42e7e69deca5fedaa2ae3 Mon Sep 17 00:00:00 2001 From: "Daniel Campoverde [alx741]" Date: Thu, 5 May 2016 12:01:04 -0500 Subject: [PATCH 2/3] rustc: improve description --- pages/common/rustc.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/common/rustc.md b/pages/common/rustc.md index 07bf0a82a..464b1819e 100644 --- a/pages/common/rustc.md +++ b/pages/common/rustc.md @@ -1,6 +1,7 @@ # rustc > The Rust compiler. +> Processes, compiles and links Rust language source files. - Compile a single file: From b5387ef5276165e149f12abbba5acc06362b6581 Mon Sep 17 00:00:00 2001 From: "Daniel Campoverde [alx741]" Date: Fri, 6 May 2016 11:59:33 -0500 Subject: [PATCH 3/3] rustc: remove test harness option --- pages/common/rustc.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pages/common/rustc.md b/pages/common/rustc.md index 464b1819e..6e7e3ca6f 100644 --- a/pages/common/rustc.md +++ b/pages/common/rustc.md @@ -14,7 +14,3 @@ - Compile with debugging information: `rustc -g {{file.rs}}` - -- Build a test harness: - -`rustc --test {{file.rs}}`