Skip to content

Commit b18ff59

Browse files
committed
Fix rustc_target::spec::apple::tests
1 parent df96402 commit b18ff59

File tree

1 file changed

+4
-1
lines changed
  • compiler/rustc_target/src/spec/apple

1 file changed

+4
-1
lines changed

compiler/rustc_target/src/spec/apple/tests.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ fn macos_link_environment_unmodified() {
3030
for target in all_macos_targets {
3131
// macOS targets should only remove information for cross-compiling, but never
3232
// for the host.
33-
assert_eq!(target.link_env_remove, crate::spec::cvs!["IPHONEOS_DEPLOYMENT_TARGET"]);
33+
assert_eq!(
34+
target.link_env_remove,
35+
crate::spec::cvs!["IPHONEOS_DEPLOYMENT_TARGET", "TVOS_DEPLOYMENT_TARGET"],
36+
);
3437
}
3538
}

0 commit comments

Comments
 (0)