From 3492f59d871f7082284dc064cbdfdca1f8fa92da Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 26 Apr 2024 11:27:03 +0200 Subject: [PATCH] lld fixup for aarch64-unknown-uefi --- 0001-Use-lld-provided-by-system.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/0001-Use-lld-provided-by-system.patch b/0001-Use-lld-provided-by-system.patch index 8fcf4dc..d5970bd 100644 --- a/0001-Use-lld-provided-by-system.patch +++ b/0001-Use-lld-provided-by-system.patch @@ -63,3 +63,13 @@ diff -Naur a/compiler/rustc_target/src/spec/targets/aarch64_unknown_none_softflo -- 2.41.0 +--- a/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs 2024-04-09 19:20:09.000000000 +0200 ++++ b/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs 2024-04-26 11:22:31.988601550 +0200 +@@ -9,6 +9,7 @@ pub fn target() -> Target { + base.max_atomic_width = Some(128); + base.add_pre_link_args(LinkerFlavor::Msvc(Lld::No), &["/machine:arm64"]); + base.features = "+v8a".into(); ++ base.linker = Some("lld".into()); + + Target { + llvm_target: "aarch64-unknown-windows".into(),