From 1802dd00736e55b6954eec09246bb78bd32567f7 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Wed, 11 Dec 2024 00:43:05 +0000 Subject: [PATCH] Correct the LLVM target of `aarch64-unknown-uefi` As noticed in [1], the LLVM target string for aarch64 UEFI is not correct. Fix it here. Link: https://github.com/rust-lang/rust/pull/132975#issuecomment-2533330141 [1] --- compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs b/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs index 9656024ddaa1f..d487b10bedf94 100644 --- a/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs +++ b/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs @@ -11,7 +11,7 @@ pub(crate) fn target() -> Target { base.features = "+v8a".into(); Target { - llvm_target: "aarch64-unknown-windows".into(), + llvm_target: "aarch64-unknown-uefi".into(), metadata: crate::spec::TargetMetadata { description: Some("ARM64 UEFI".into()), tier: Some(2),