Skip to content

Commit 5209d6f

Browse files
committed
Remove hardcoded clang target: ios13 or ios14 for Mac Catalyst [fixed]
1 parent 9a19e76 commit 5209d6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/rustc_target/src/spec/aarch64_apple_ios_macabi.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use super::apple_base::{opts, Arch};
22
use crate::spec::{Cc, FramePointer, LinkerFlavor, Lld, Target, TargetOptions};
33

44
pub fn target() -> Target {
5-
let llvm_target = "arm64-apple-ios14.0-macabi";
5+
let llvm_target = "arm64-apple-ios-macabi";
66

77
let arch = Arch::Arm64_macabi;
88
let mut base = opts("ios", arch);
@@ -22,7 +22,7 @@ pub fn target() -> Target {
2222
// These arguments are not actually invoked - they just have
2323
// to look right to pass App Store validation.
2424
bitcode_llvm_cmdline: "-triple\0\
25-
arm64-apple-ios14.0-macabi\0\
25+
arm64-apple-ios-macabi\0\
2626
-emit-obj\0\
2727
-disable-llvm-passes\0\
2828
-Os\0"

compiler/rustc_target/src/spec/x86_64_apple_ios_macabi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use super::apple_base::{opts, Arch};
22
use crate::spec::{Cc, LinkerFlavor, Lld, StackProbeType, Target, TargetOptions};
33

44
pub fn target() -> Target {
5-
let llvm_target = "x86_64-apple-ios13.0-macabi";
5+
let llvm_target = "x86_64-apple-ios-macabi";
66

77
let arch = Arch::X86_64_macabi;
88
let mut base = opts("ios", arch);

0 commit comments

Comments
 (0)