mirror of
https://github.com/rust-lang/cargo.git
synced 2026-03-03 19:09:16 +00:00
Add missing CARGO_TARGET_APPLIES_TO_HOST
Based on the comment of the test case, it appears that this should have been added
This commit is contained in:
parent
b3882b18a7
commit
08a9ca0152
@ -1339,6 +1339,7 @@ fn host_linker_does_not_apply_to_binary_build() {
|
||||
// host.linker should not be applied but target.linker
|
||||
p.cargo("build -Z target-applies-to-host -Z host-config")
|
||||
.masquerade_as_nightly_cargo(&["target-applies-to-host", "host-config"])
|
||||
.env("CARGO_TARGET_APPLIES_TO_HOST", "false")
|
||||
.with_status(101)
|
||||
// Need to omit some MSVC-specific diagnostics
|
||||
// because rustc prints extra stuff when linker was not found.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user