From b79b42e58b90a54eb5644ae10d04b5bfde26fb75 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 16 Mar 2025 20:12:42 +0100 Subject: moved build-support/disabled to build-support-disabled (collides with some pkginfo stuff otherwise) --- ...003-compiler-Use-wasm-ld-for-wasm-targets.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 build-support-disabled/rust162/0003-compiler-Use-wasm-ld-for-wasm-targets.patch (limited to 'build-support-disabled/rust162/0003-compiler-Use-wasm-ld-for-wasm-targets.patch') diff --git a/build-support-disabled/rust162/0003-compiler-Use-wasm-ld-for-wasm-targets.patch b/build-support-disabled/rust162/0003-compiler-Use-wasm-ld-for-wasm-targets.patch new file mode 100644 index 00000000..c2002ae6 --- /dev/null +++ b/build-support-disabled/rust162/0003-compiler-Use-wasm-ld-for-wasm-targets.patch @@ -0,0 +1,24 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" +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/wasm_base.rs | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/compiler/rustc_target/src/spec/wasm_base.rs b/compiler/rustc_target/src/spec/wasm_base.rs +index de7b7374af31..9ea181ab8d8f 100644 +--- a/compiler/rustc_target/src/spec/wasm_base.rs ++++ b/compiler/rustc_target/src/spec/wasm_base.rs +@@ -99,8 +99,7 @@ pub fn options() -> TargetOptions { + // 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()), + lld_flavor: LldFlavor::Wasm, + linker_is_gnu: false, + -- cgit v1.2.3-70-g09d2