about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMateusz MikuĊ‚a <matti@marinelayer.io>2019-04-15 13:35:08 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-04-17 05:15:00 +0200
commit87e4b43d518c754cc8c522da04ac3a6ae30eb7aa (patch)
tree6c18c8850f81ccf017850f6530fe79f4d3de31ad /src/bootstrap
parent531a9bdbe6dd03943089075fe72d57a6f3ee0456 (diff)
downloadrust-87e4b43d518c754cc8c522da04ac3a6ae30eb7aa.tar.gz
rust-87e4b43d518c754cc8c522da04ac3a6ae30eb7aa.zip
Deny `internal` in stage0
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/bin/rustc.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs
index a76584093fc..a8f0d24ce63 100644
--- a/src/bootstrap/bin/rustc.rs
+++ b/src/bootstrap/bin/rustc.rs
@@ -290,9 +290,7 @@ fn main() {
     }
 
     // This is required for internal lints.
-    if stage != "0" {
-        cmd.arg("-Zunstable-options");
-    }
+    cmd.arg("-Zunstable-options");
 
     // Force all crates compiled by this compiler to (a) be unstable and (b)
     // allow the `rustc_private` feature to link to other unstable crates