Skip to content

Commit 54e6ac0

Browse files
committed
test: add -Zunstable-options with custom targets
rustc is destabilising custom targets (rust-lang/rust#150151) and requiring that `-Zunstable-options` is passed when custom targets are used. This is the minimum change required so that the rustc patch can be merged.
1 parent b8ba7ae commit 54e6ac0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/testsuite/rustc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,7 @@ RUST_TARGET_PATH = { value = "./targets", relative = true }
840840

841841
p.cargo("rustc -Z unstable-options --print cfg")
842842
.masquerade_as_nightly_cargo(&["print"])
843+
.env("RUSTFLAGS", "-Z unstable-options")
843844
.with_stdout_data(str!["..."].unordered())
844845
.run();
845846
}

0 commit comments

Comments
 (0)