Skip to content

Commit 3f87043

Browse files
committed
Remove legacy bitcode defaults
1 parent 32f5db9 commit 3f87043

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

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

+4-9
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,18 @@ pub fn target() -> Target {
77
base.supported_sanitizers = SanitizerSet::ADDRESS | SanitizerSet::THREAD;
88

99
Target {
10+
// Clang automatically chooses a more specific target based on
11+
// IPHONEOS_DEPLOYMENT_TARGET.
12+
// This is required for the target to pick the right
13+
// MACH-O commands, so we do too.
1014
llvm_target: ios_llvm_target(arch).into(),
1115
pointer_width: 64,
1216
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(),
1317
arch: arch.target_arch(),
1418
options: TargetOptions {
1519
features: "+neon,+fp-armv8,+apple-a12,+v8.3a,+paca,+pacg".into(),
1620
max_atomic_width: Some(128),
17-
forces_embed_bitcode: true,
1821
frame_pointer: FramePointer::NonLeaf,
19-
bitcode_llvm_cmdline: "-triple\0\
20-
arm64e-apple-ios14.1.0\0\
21-
-emit-obj\0\
22-
-disable-llvm-passes\0\
23-
-target-abi\0\
24-
darwinpcs\0\
25-
-Os\0"
26-
.into(),
2722
..base
2823
},
2924
}

0 commit comments

Comments
 (0)