1
Fork 0

Fix rustc_target::spec:🍎:tests

This commit is contained in:
Thom Chiovoloni 2023-03-14 22:15:49 -07:00
parent df9640211d
commit b18ff59690
No known key found for this signature in database

View file

@ -30,6 +30,9 @@ fn macos_link_environment_unmodified() {
for target in all_macos_targets {
// macOS targets should only remove information for cross-compiling, but never
// 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"],
);
}
}