Skip to content

Commit bfe956e

Browse files
Add target_family = apple for good measure
1 parent 20dae47 commit bfe956e

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/base/apple/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ pub fn opts(os: &'static str, arch: Arch) -> TargetOptions {
150150
function_sections: false,
151151
dynamic_linking: true,
152152
pre_link_args: pre_link_args(os, arch, abi),
153-
families: cvs!["unix"],
153+
families: cvs!["apple", "unix"],
154154
is_like_osx: true,
155155
// LLVM notes that macOS 10.11+ and iOS 9+ default
156156
// to v4, so we do the same.

0 commit comments

Comments
 (0)