From 2a2945e5dec13ba7b0839c947517a2ccbd944c64 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 28 Oct 2011 12:51:46 -0700 Subject: [PATCH] rustc: -h cleanup --- src/comp/driver/rustc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs index 40f7ebbc8b8f..875acffe61a4 100644 --- a/src/comp/driver/rustc.rs +++ b/src/comp/driver/rustc.rs @@ -250,14 +250,14 @@ options: --parse-only parse only; do not compile, assemble, or link --no-trans run all passes except translation; no output -g produce debug info - --opt-level= optimize with possible levels 0-3 + --opt-level optimize with possible levels 0-3 -O equivalent to --opt-level=2 -S compile only; do not assemble or link -c compile and assemble, but do not link --emit-llvm produce an LLVM bitcode file --save-temps write intermediate files in addition to normal output --stats gather and report various compilation statistics - --cfg [cfgspec] configure the compilation environment + --cfg configure the compilation environment --time-passes time the individual phases of the compiler --time-llvm-passes time the individual phases of the LLVM backend --sysroot override the system root (default: rustc's directory)