slackware-current/source/d/rust/0004-compiler-Use-wasm-ld-for-wasm-targets.patch
Patrick J Volkerding 76d67b71a0 Wed Apr 3 19:58:56 UTC 2024
a/kernel-generic-6.6.24-x86_64-1.txz:  Upgraded.
a/kernel-huge-6.6.24-x86_64-1.txz:  Upgraded.
a/kernel-modules-6.6.24-x86_64-1.txz:  Upgraded.
d/kernel-headers-6.6.24-x86-1.txz:  Upgraded.
d/python3-3.11.9-x86_64-1.txz:  Upgraded.
k/kernel-source-6.6.24-noarch-1.txz:  Upgraded.
  -AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT n
  -GCC11_NO_ARRAY_BOUNDS y
   NUMA_BALANCING n -> y
  +GCC10_NO_ARRAY_BOUNDS y
  +NUMA_BALANCING_DEFAULT_ENABLED y
kde/libindi-2.0.7-x86_64-1.txz:  Upgraded.
l/SDL2-2.30.2-x86_64-1.txz:  Upgraded.
l/aom-3.8.2-x86_64-1.txz:  Added.
  Needed to add AV1 encode/decode support to ffmpeg.
  Thanks to Andrew Strong.
l/dav1d-1.4.1-x86_64-1.txz:  Added.
  Needed to add AV1 decode support to ffmpeg.
l/ffmpeg-6.1.1-x86_64-2.txz:  Rebuilt.
  Patched to build with nv-codec-headers-12.2.72.0. Thanks to J_W.
  Compiled against aom-3.8.2 and dav1d-1.4.1 for AV1 support.
  Thanks to glennmcc.
l/gtk4-4.14.2-x86_64-1.txz:  Upgraded.
n/whois-5.5.22-x86_64-1.txz:  Upgraded.
  Fixed a segmentation fault with --no-recursion.
  Updated the .bm and .vi TLD servers.
  Removed 4 new gTLDs which are no longer active.
xap/MPlayer-20240403-x86_64-1.txz:  Upgraded.
  Compiled using --enable-libaom-lavc and --enable-libdav1d-lavc.
  Thanks to glennmcc.
xap/pan-0.157-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2024-04-03 23:12:56 +02:00

24 lines
944 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Sat, 6 Nov 2021 22:42:06 +0100
Subject: [PATCH] compiler: Use wasm-ld for wasm targets
We don't ship rust-lld.
---
compiler/rustc_target/src/spec/base/wasm.rs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/compiler/rustc_target/src/spec/base/wasm.rs b/compiler/rustc_target/src/spec/base/wasm.rs
index 4b4d2aca26e4..b4918c8fdda2 100644
--- a/compiler/rustc_target/src/spec/base/wasm.rs
+++ b/compiler/rustc_target/src/spec/base/wasm.rs
@@ -88,8 +88,7 @@ macro_rules! args {
// arguments just yet
limit_rdylib_exports: false,
- // we use the LLD shipped with the Rust toolchain by default
- linker: Some("rust-lld".into()),
+ linker: Some("wasm-ld".into()),
linker_flavor: LinkerFlavor::WasmLld(Cc::No),
pre_link_args,