From af1d837a5a69301cee33afc2fe9247bbc28a9f57 Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Sat, 24 Feb 2024 07:34:15 -0800 Subject: [PATCH] Updated target LLVM architectures --- compiler/rustc_target/src/spec/targets/aarch64_apple_xros.rs | 2 +- .../rustc_target/src/spec/targets/aarch64_apple_xros_sim.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_target/src/spec/targets/aarch64_apple_xros.rs b/compiler/rustc_target/src/spec/targets/aarch64_apple_xros.rs index 73b78ff11ca35..2659ee7164e7a 100644 --- a/compiler/rustc_target/src/spec/targets/aarch64_apple_xros.rs +++ b/compiler/rustc_target/src/spec/targets/aarch64_apple_xros.rs @@ -12,7 +12,7 @@ pub fn target() -> Target { data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(), arch: arch.target_arch(), options: TargetOptions { - features: "+neon,+fp-armv8,+apple-a7".into(), + features: "+neon,+fp-armv8,+apple-a12".into(), max_atomic_width: Some(128), frame_pointer: FramePointer::NonLeaf, ..base diff --git a/compiler/rustc_target/src/spec/targets/aarch64_apple_xros_sim.rs b/compiler/rustc_target/src/spec/targets/aarch64_apple_xros_sim.rs index cfb7d48f1a838..34ecf9ac1a5c5 100644 --- a/compiler/rustc_target/src/spec/targets/aarch64_apple_xros_sim.rs +++ b/compiler/rustc_target/src/spec/targets/aarch64_apple_xros_sim.rs @@ -12,7 +12,7 @@ pub fn target() -> Target { data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(), arch: arch.target_arch(), options: TargetOptions { - features: "+neon,+fp-armv8,+apple-a7".into(), + features: "+neon,+fp-armv8,+apple-m1".into(), max_atomic_width: Some(128), frame_pointer: FramePointer::NonLeaf, ..base