/[packages]/cauldron/rust/current/SOURCES/0001-Use-lld-provided-by-system-for-wasm.patch
ViewVC logotype

Contents of /cauldron/rust/current/SOURCES/0001-Use-lld-provided-by-system-for-wasm.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1732055 - (show annotations) (download)
Wed Jun 23 17:13:01 2021 UTC (2 years, 9 months ago) by akien
File size: 966 byte(s)
- Sync with Fedora: Thu Jun 17 2021 Josh Stone <jistone@redhat.com> - 1.53.0-1
  o Update to 1.53.0.
  o Set rust.codegen-units-std=1 for all targets again.
  o Add rust-std-static-wasm32-unknown-unknown.

1 From 3582a262d27fd5a2f8705bad6018241eaca8aadd Mon Sep 17 00:00:00 2001
2 From: Ivan Mironov <mironov.ivan@gmail.com>
3 Date: Sun, 8 Dec 2019 17:23:08 +0500
4 Subject: [PATCH] Use lld provided by system for wasm
5
6 ---
7 compiler/rustc_target/src/spec/wasm_base.rs | 3 +--
8 1 file changed, 1 insertion(+), 2 deletions(-)
9
10 diff --git a/compiler/rustc_target/src/spec/wasm_base.rs b/compiler/rustc_target/src/spec/wasm_base.rs
11 index b208eb92f8ff..94a701a11c8b 100644
12 --- a/compiler/rustc_target/src/spec/wasm_base.rs
13 +++ b/compiler/rustc_target/src/spec/wasm_base.rs
14 @@ -98,8 +98,7 @@ pub fn options() -> TargetOptions {
15 // arguments just yet
16 limit_rdylib_exports: false,
17
18 - // we use the LLD shipped with the Rust toolchain by default
19 - linker: Some("rust-lld".to_owned()),
20 + linker: Some("lld".to_owned()),
21 lld_flavor: LldFlavor::Wasm,
22
23 // No need for indirection here, simd types can always be passed by
24 --
25 2.31.1
26

  ViewVC Help
Powered by ViewVC 1.1.30