Deny warnings in rustc crates on stable

This commit is contained in:
Jana Dönszelmann
2026-04-29 10:53:45 +02:00
parent e95e73209f
commit 814fc17cb6
@@ -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"))