Skip to content

Commit 7025fbf

Browse files
committed
---
yaml --- r: 134086 b: refs/heads/master c: cbb07e8 h: refs/heads/master v: v3
1 parent 2298556 commit 7025fbf

File tree

3 files changed

+2
-45
lines changed

3 files changed

+2
-45
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 0169218047dc989acf9ea25e3122b9c659acb6b3
2+
refs/heads/master: cbb07e81be99271f9e240a27dcf540686d8c0bfc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 437179ed8bf7f7672f84b19265df1ce569e70490
55
refs/heads/try: 777654cfccbfa39bc7f671d8e9629018ed8ca12d

trunk/src/librustc/driver/config.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ debugging_opts!(
176176
SHOW_SPAN,
177177
COUNT_TYPE_SIZES,
178178
META_STATS,
179-
NO_OPT,
180179
GC,
181180
PRINT_LINK_ARGS,
182181
PRINT_LLVM_PASSES,
@@ -211,7 +210,6 @@ pub fn debugging_opts_map() -> Vec<(&'static str, &'static str, u64)> {
211210
("count-type-sizes", "count the sizes of aggregate types",
212211
COUNT_TYPE_SIZES),
213212
("meta-stats", "gather metadata statistics", META_STATS),
214-
("no-opt", "do not optimize, even if -O is passed", NO_OPT),
215213
("print-link-args", "Print the arguments passed to the linker",
216214
PRINT_LINK_ARGS),
217215
("gc", "Garbage collect shared data (experimental)", GC),
@@ -714,9 +712,7 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
714712
let target = matches.opt_str("target").unwrap_or(
715713
driver::host_triple().to_string());
716714
let opt_level = {
717-
if (debugging_opts & NO_OPT) != 0 {
718-
No
719-
} else if matches.opt_present("O") {
715+
if matches.opt_present("O") {
720716
if matches.opt_present("opt-level") {
721717
early_error("-O and --opt-level both provided");
722718
}

trunk/src/test/run-pass/capture_nil.rs

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)