about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-10 12:47:54 +0000
committerbors <bors@rust-lang.org>2021-06-10 12:47:54 +0000
commit40c1623b16fb28f7625cab13570752d04513815c (patch)
tree2521c9eed5038c1546f013d1eaf7e27dfdb7f5e3 /src/bootstrap
parent0279cb11ed98bdc589c66572477fd27f1dd3e0ac (diff)
parent1cdc81bdc109dab9a71108201a0e8edf24efeafa (diff)
Auto merge of #82639 - jyn514:stable-options, r=Mark-Simulacrum
Don't pass -Z unstable-options by default for UI tests

Unconditionally passing -Z unstable-options makes it impossible to test whether an option requires unstable-options or not.

This uncovered quite a lot of bugs, I'll open issues for each. These don't strictly need to be fixed before this is merged, it just makes the diff much larger because of the changes to diagnostics.

- https://github.com/rust-lang/rust/issues/82636
- https://github.com/rust-lang/rust/issues/82637
- https://github.com/rust-lang/rust/issues/82638
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/test.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 70cf1b105c0..430510b667d 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -1267,7 +1267,6 @@ note: if you're sure you want to do this, please open an issue as to why. In the
             }
         }
         flags.push(format!("-Cdebuginfo={}", builder.config.rust_debuginfo_level_tests));
-        flags.push("-Zunstable-options".to_string());
         flags.push(builder.config.cmd.rustc_args().join(" "));
 
         if let Some(linker) = builder.linker(target) {