about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHaitao Li <lihaitao@gmail.com>2011-11-11 23:55:47 +0800
committerHaitao Li <lihaitao@gmail.com>2011-11-12 00:01:37 +0800
commit39084fb881a1a0fd2db6c8df04ccd5cc0a9c6716 (patch)
tree4f275ba729919fb3de418114e542b7dad8eb0717
parent24b66451568769236202e90e29a3540b802e1373 (diff)
downloadrust-39084fb881a1a0fd2db6c8df04ccd5cc0a9c6716.tar.gz
rust-39084fb881a1a0fd2db6c8df04ccd5cc0a9c6716.zip
Remove unused "--check-unsafe" flag
Fixes issue #1138
-rw-r--r--src/comp/driver/rustc.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index f86e2f44682..5db2dd02101 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -270,7 +270,6 @@ options:
     --test             build test harness
     --gc               garbage collect shared data (experimental/temporary)
     --stack-growth     perform stack checks (experimental)
-    --check-unsafe     disallow unsafe actions in non-unsafe functions
 
 ");
 }
@@ -448,7 +447,7 @@ fn opts() -> [getopts::opt] {
          optflag("no-typestate"), optflag("noverify"),
          optmulti("cfg"), optflag("test"),
          optflag("lib"), optflag("static"), optflag("gc"),
-         optflag("stack-growth"), optflag("check-unsafe")];
+         optflag("stack-growth")];
 }
 
 fn build_output_filenames(ifile: str, ofile: option::t<str>,