about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorflip1995 <hello@philkrones.com>2019-06-17 17:06:11 +0200
committerflip1995 <hello@philkrones.com>2019-06-24 10:45:20 +0200
commit08b81f2d070fdeb5364c96ccb2fdd8d992dff955 (patch)
treec3ed19e9b571734fb8e28d291caed27197be878f /src/bootstrap
parent65c81dee75a39dc990485f181e3eaf055dc37fa4 (diff)
downloadrust-08b81f2d070fdeb5364c96ccb2fdd8d992dff955.tar.gz
rust-08b81f2d070fdeb5364c96ccb2fdd8d992dff955.zip
Rename internal -> rustc::internal
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/bin/rustc.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs
index 34bd62d300d..5b5e9e0def2 100644
--- a/src/bootstrap/bin/rustc.rs
+++ b/src/bootstrap/bin/rustc.rs
@@ -310,7 +310,9 @@ fn main() {
         let crate_name = crate_name[1].to_string_lossy();
         if crate_name.starts_with("rustc") || crate_name.starts_with("syntax") {
             cmd.arg("-Zunstable-options");
-            cmd.arg("-Winternal");
+            if stage != "0" {
+                cmd.arg("-Wrustc::internal");
+            }
         }
     }