We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 982c552 commit fa18030Copy full SHA for fa18030
compiler/rustc_target/src/spec/aarch64_apple_darwin.rs
@@ -14,14 +14,13 @@ pub fn target() -> Target {
14
// Clang automatically chooses a more specific target based on
15
// MACOSX_DEPLOYMENT_TARGET. To enable cross-language LTO to work
16
// correctly, we do too.
17
- let arch = "aarch64";
18
- let llvm_target = super::apple_base::macos_llvm_target(&arch);
+ let llvm_target = super::apple_base::macos_llvm_target("arm64");
19
20
Target {
21
llvm_target,
22
pointer_width: 64,
23
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".to_string(),
24
- arch: arch.to_string(),
+ arch: "aarch64".to_string(),
25
options: TargetOptions {
26
mcount: "\u{1}mcount".to_string(),
27
frame_pointer: FramePointer::NonLeaf,
0 commit comments