Skip to content

Commit baf3de4

Browse files
committed
Rename --noverify flag to --no-verify.
1 parent 447414f commit baf3de4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/comp/driver/rustc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ options:
260260
--pretty [type] pretty-print the input instead of compiling
261261
--ls list the symbols defined by a crate file
262262
-L <path> add a directory to the library search path
263-
--noverify suppress LLVM verification step (slight speedup)
263+
--no-verify suppress LLVM verification step (slight speedup)
264264
--parse-only parse only; do not compile, assemble, or link
265265
--no-trans run all passes except translation; no output
266266
-g produce debug info
@@ -362,7 +362,7 @@ fn build_session_options(match: getopts::match)
362362
} else if opt_present(match, "emit-llvm") {
363363
link::output_type_bitcode
364364
} else { link::output_type_exe };
365-
let verify = !opt_present(match, "noverify");
365+
let verify = !opt_present(match, "no-verify");
366366
let save_temps = opt_present(match, "save-temps");
367367
let debuginfo = opt_present(match, "g");
368368
let stats = opt_present(match, "stats");
@@ -463,7 +463,7 @@ fn opts() -> [getopts::opt] {
463463
optflag("c"), optopt("o"), optflag("g"), optflag("save-temps"),
464464
optopt("sysroot"), optopt("target"), optflag("stats"),
465465
optflag("time-passes"), optflag("time-llvm-passes"),
466-
optflag("noverify"),
466+
optflag("no-verify"),
467467
optmulti("cfg"), optflag("test"),
468468
optflag("lib"), optflag("static"), optflag("gc"),
469469
optflag("stack-growth"),

0 commit comments

Comments
 (0)