Skip to content

Commit

Permalink
rustc: Remove --stack-growth option
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Dec 18, 2011
1 parent fe683df commit 555006a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions man/rustc.1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 0 additions & 4 deletions src/comp/driver/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ options:
--target <triple> 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
Expand Down Expand Up @@ -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,
Expand All @@ -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;
Expand Down Expand Up @@ -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")];
}
Expand Down
1 change: 0 additions & 1 deletion src/comp/driver/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down

0 comments on commit 555006a

Please sign in to comment.