Skip to content

Commit

Permalink
Use apple-m1 as target CPU for aarch64-apple-darwin.
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored Apr 3, 2023
1 parent 1767585 commit 0f90aed
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 @@ -4,7 +4,7 @@ use crate::spec::{FramePointer, SanitizerSet, Target, TargetOptions};
pub fn target() -> Target {
let arch = Arch::Arm64;
let mut base = opts("macos", arch);
base.cpu = "apple-a14".into();
base.cpu = "apple-m1".into();
base.max_atomic_width = Some(128);

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

0 comments on commit 0f90aed

Please sign in to comment.