From 39084fb881a1a0fd2db6c8df04ccd5cc0a9c6716 Mon Sep 17 00:00:00 2001 From: Haitao Li Date: Fri, 11 Nov 2011 23:55:47 +0800 Subject: [PATCH] Remove unused "--check-unsafe" flag Fixes issue #1138 --- src/comp/driver/rustc.rs | 3 +-- 1 file changed, 1 insertion(+), 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 @@ fn usage(argv0: str) { --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,