Fix rustc_target::spec:🍎:tests
This commit is contained in:
parent
df9640211d
commit
b18ff59690
1 changed files with 4 additions and 1 deletions
|
@ -30,6 +30,9 @@ fn macos_link_environment_unmodified() {
|
||||||
for target in all_macos_targets {
|
for target in all_macos_targets {
|
||||||
// macOS targets should only remove information for cross-compiling, but never
|
// macOS targets should only remove information for cross-compiling, but never
|
||||||
// for the host.
|
// for the host.
|
||||||
assert_eq!(target.link_env_remove, crate::spec::cvs!["IPHONEOS_DEPLOYMENT_TARGET"]);
|
assert_eq!(
|
||||||
|
target.link_env_remove,
|
||||||
|
crate::spec::cvs!["IPHONEOS_DEPLOYMENT_TARGET", "TVOS_DEPLOYMENT_TARGET"],
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue