Skip to content

Commit 7d41f54

Browse files
committed
---
yaml --- r: 155306 b: refs/heads/try2 c: cbb07e8 h: refs/heads/master v: v3
1 parent 3010bf8 commit 7d41f54

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 0169218047dc989acf9ea25e3122b9c659acb6b3
8+
refs/heads/try2: cbb07e81be99271f9e240a27dcf540686d8c0bfc
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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
}

branches/try2/src/test/run-pass/capture_nil.rs

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

0 commit comments

Comments
 (0)