Skip to content

Commit 3747628

Browse files
committed
Use apple-a14 as target CPU for aarch64-apple-darwin.
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.
1 parent ff0e148 commit 3747628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/aarch64_apple_darwin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::spec::{FramePointer, LinkerFlavor, SanitizerSet, Target, TargetOption
22

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

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

0 commit comments

Comments
 (0)