Skip to content

Commit

Permalink
Use apple-a14 as target CPU for aarch64-apple-darwin.
Browse files Browse the repository at this point in the history
After updating the minimum required LLVM version to 12 we can use
apple-a14 as that is closer in features to the Apple M1 than the A12.
Once the minimum required LLVM version is updated to 13 we can use
apple-m1.
  • Loading branch information
hkratz committed Nov 1, 2021
1 parent ff0e148 commit 3747628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_target/src/spec/aarch64_apple_darwin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::spec::{FramePointer, LinkerFlavor, SanitizerSet, Target, TargetOption

pub fn target() -> Target {
let mut base = super::apple_base::opts("macos");
base.cpu = "apple-a12".to_string();
base.cpu = "apple-a14".to_string();
base.max_atomic_width = Some(128);

// FIXME: The leak sanitizer currently fails the tests, see #88132.
Expand Down

0 comments on commit 3747628

Please sign in to comment.