Skip to content

Commit c2a1c7f

Browse files
abhijeetbhagatkarpinski
authored andcommittedNov 8, 2016
Change description of no-stack-check (rust-lang#34915)
1 parent 57f971b commit c2a1c7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/librustc/session/config.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
793793
remark: Passes = (SomePasses(Vec::new()), parse_passes, [UNTRACKED],
794794
"print remarks for these optimization passes (space separated, or \"all\")"),
795795
no_stack_check: bool = (false, parse_bool, [UNTRACKED],
796-
"disable checks for stack exhaustion (a memory-safety hazard!)"),
796+
"the --no-stack-check flag is deprecated and does nothing"),
797797
debuginfo: Option<usize> = (None, parse_opt_uint, [TRACKED],
798798
"debug info emission level, 0 = no debug info, 1 = line tables only, \
799799
2 = full debug info with variable and type information"),
@@ -2444,4 +2444,4 @@ mod tests {
24442444
opts.debugging_opts.mir_opt_level = Some(1);
24452445
assert!(reference.dep_tracking_hash() != opts.dep_tracking_hash());
24462446
}
2447-
}
2447+
}

0 commit comments

Comments
 (0)
Please sign in to comment.