From 555006a30412d95000dd126020f5288df38f78e5 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sat, 17 Dec 2011 16:58:26 -0800 Subject: [PATCH] rustc: Remove --stack-growth option --- man/rustc.1 | 3 --- src/comp/driver/rustc.rs | 4 ---- src/comp/driver/session.rs | 1 - 3 files changed, 8 deletions(-) diff --git a/man/rustc.1 b/man/rustc.1 index 55b9a3d5743..c3ac419661a 100644 --- a/man/rustc.1 +++ b/man/rustc.1 @@ -121,9 +121,6 @@ Build a test harness. \fB--gc\fR: \fBEXPERIMENTAL\fR. Garbage-collect shared data. .TP -\fB--stack-growth\fR: -\fBEXPERIMENTAL\fR. Perform stack growth checks. -.TP \fB--warn-unused-imports\fR: Warn about unnecessary imports. .SH "BUGS" diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs index c87fff86bb9..a947b14480a 100644 --- a/src/comp/driver/rustc.rs +++ b/src/comp/driver/rustc.rs @@ -329,7 +329,6 @@ options: --target target to compile for (default: host triple) --test build test harness --gc garbage collect shared data (experimental/temporary) - --stack-growth perform stack checks (experimental) --warn-unused-imports warn about unnecessary imports @@ -461,7 +460,6 @@ fn build_session_options(match: getopts::match) let cfg = parse_cfgspecs(getopts::opt_strs(match, "cfg")); let test = opt_present(match, "test"); let do_gc = opt_present(match, "gc"); - let stack_growth = opt_present(match, "stack-growth"); let warn_unused_imports = opt_present(match, "warn-unused-imports"); let sopts: @session::options = @{crate_type: crate_type, @@ -483,7 +481,6 @@ fn build_session_options(match: getopts::match) parse_only: parse_only, no_trans: no_trans, do_gc: do_gc, - stack_growth: stack_growth, no_asm_comments: no_asm_comments, warn_unused_imports: warn_unused_imports}; ret sopts; @@ -526,7 +523,6 @@ fn opts() -> [getopts::opt] { optmulti("cfg"), optflag("test"), optflag("no-core"), optflag("lib"), optflag("bin"), optflag("static"), optflag("gc"), - optflag("stack-growth"), optflag("no-asm-comments"), optflag("warn-unused-imports")]; } diff --git a/src/comp/driver/session.rs b/src/comp/driver/session.rs index f2d19f09965..586dce38df9 100644 --- a/src/comp/driver/session.rs +++ b/src/comp/driver/session.rs @@ -45,7 +45,6 @@ type options = parse_only: bool, no_trans: bool, do_gc: bool, - stack_growth: bool, no_asm_comments: bool, warn_unused_imports: bool};