Skip to content

Commit 39084fb

Browse files
committed
Remove unused "--check-unsafe" flag
Fixes issue rust-lang#1138
1 parent 24b6645 commit 39084fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/comp/driver/rustc.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ options:
270270
--test build test harness
271271
--gc garbage collect shared data (experimental/temporary)
272272
--stack-growth perform stack checks (experimental)
273-
--check-unsafe disallow unsafe actions in non-unsafe functions
274273
275274
");
276275
}
@@ -448,7 +447,7 @@ fn opts() -> [getopts::opt] {
448447
optflag("no-typestate"), optflag("noverify"),
449448
optmulti("cfg"), optflag("test"),
450449
optflag("lib"), optflag("static"), optflag("gc"),
451-
optflag("stack-growth"), optflag("check-unsafe")];
450+
optflag("stack-growth")];
452451
}
453452

454453
fn build_output_filenames(ifile: str, ofile: option::t<str>,

0 commit comments

Comments
 (0)