Skip to content

Commit d9068c0

Browse files
committed
fix the "run-make-cargo" test
1 parent c931eff commit d9068c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tests/run-make-cargo/rustc-crates-on-stable

tests/run-make-cargo/rustc-crates-on-stable/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fn main() {
1010
.env("RUSTC_STAGE", "0")
1111
.env("RUSTC", rustc_path())
1212
// We want to disallow all nightly features to simulate a stable build
13-
.env("RUSTFLAGS", "-D warnings -Zallow-features=")
13+
.env("RUSTFLAGS", "-D warnings --check-cfg=cfg(bootstrap) -Zallow-features=")
1414
.arg("build")
1515
.arg("--manifest-path")
1616
.arg(source_root().join("Cargo.toml"))

0 commit comments

Comments
 (0)