mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
Deny warnings in rustc crates on stable
This commit is contained in:
@@ -10,7 +10,7 @@ fn main() {
|
||||
.env("RUSTC_STAGE", "0")
|
||||
.env("RUSTC", rustc_path())
|
||||
// We want to disallow all nightly features to simulate a stable build
|
||||
.env("RUSTFLAGS", "-Zallow-features=")
|
||||
.env("RUSTFLAGS", "-D warnings -Zallow-features=")
|
||||
.arg("build")
|
||||
.arg("--manifest-path")
|
||||
.arg(source_root().join("Cargo.toml"))
|
||||
|
||||
Reference in New Issue
Block a user