diff options
| author | Mateusz MikuĊa <matti@marinelayer.io> | 2019-04-15 13:35:08 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-17 05:15:00 +0200 |
| commit | 87e4b43d518c754cc8c522da04ac3a6ae30eb7aa (patch) | |
| tree | 6c18c8850f81ccf017850f6530fe79f4d3de31ad /src/bootstrap | |
| parent | 531a9bdbe6dd03943089075fe72d57a6f3ee0456 (diff) | |
| download | rust-87e4b43d518c754cc8c522da04ac3a6ae30eb7aa.tar.gz rust-87e4b43d518c754cc8c522da04ac3a6ae30eb7aa.zip | |
Deny `internal` in stage0
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/bin/rustc.rs | 4 |
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 |
