Skip to content

Commit fd0033c

Browse files
committed
Use LLVM features for arm64e_apple_ios target
We need to use LLVM features here. Otherwise we get warnings such as '+paca' is not a recognized feature for this target (ignoring feature)
1 parent 3f87043 commit fd0033c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/targets/arm64e_apple_ios.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub fn target() -> Target {
1616
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(),
1717
arch: arch.target_arch(),
1818
options: TargetOptions {
19-
features: "+neon,+fp-armv8,+apple-a12,+v8.3a,+paca,+pacg".into(),
19+
features: "+neon,+fp-armv8,+apple-a12,+v8.3a,+pauth".into(),
2020
max_atomic_width: Some(128),
2121
frame_pointer: FramePointer::NonLeaf,
2222
..base

0 commit comments

Comments
 (0)