Skip to content

Commit

Permalink
Remove hardcoded clang target: ios13 or ios14 for Mac Catalyst [fixed]
Browse files Browse the repository at this point in the history
  • Loading branch information
imWildCat committed Jan 27, 2023
1 parent 9a19e76 commit 5209d6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_target/src/spec/aarch64_apple_ios_macabi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use super::apple_base::{opts, Arch};
use crate::spec::{Cc, FramePointer, LinkerFlavor, Lld, Target, TargetOptions};

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

let arch = Arch::Arm64_macabi;
let mut base = opts("ios", arch);
Expand All @@ -22,7 +22,7 @@ pub fn target() -> Target {
// These arguments are not actually invoked - they just have
// to look right to pass App Store validation.
bitcode_llvm_cmdline: "-triple\0\
arm64-apple-ios14.0-macabi\0\
arm64-apple-ios-macabi\0\
-emit-obj\0\
-disable-llvm-passes\0\
-Os\0"
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_target/src/spec/x86_64_apple_ios_macabi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use super::apple_base::{opts, Arch};
use crate::spec::{Cc, LinkerFlavor, Lld, StackProbeType, Target, TargetOptions};

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

let arch = Arch::X86_64_macabi;
let mut base = opts("ios", arch);
Expand Down

0 comments on commit 5209d6f

Please sign in to comment.