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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1861388 - (hide annotations) (download)
Mon Jun 6 12:35:03 2022 UTC (15 months, 2 weeks ago) by akien
File size: 912 byte(s)
- Sync with Fedora: Mon May 23 2022 Josh Stone <jistone@redhat.com> - 1.61.0-2
  o Update to 1.61.0.
  o Add rust-toolset for ELN.
  o Add missing target_feature to the list of well known cfg names
1 akien 1861388 From b521511174b1a08dddfac243604d649b71cc7386 Mon Sep 17 00:00:00 2001
2 akien 1732055 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 akien 1861388 index de7b7374af31..eebbe616e9b6 100644
12 akien 1732055 --- a/compiler/rustc_target/src/spec/wasm_base.rs
13     +++ b/compiler/rustc_target/src/spec/wasm_base.rs
14 akien 1740984 @@ -99,8 +99,7 @@ pub fn options() -> TargetOptions {
15 akien 1732055 // arguments just yet
16     limit_rdylib_exports: false,
17    
18     - // we use the LLD shipped with the Rust toolchain by default
19 akien 1861388 - linker: Some("rust-lld".into()),
20     + linker: Some("lld".into()),
21 akien 1732055 lld_flavor: LldFlavor::Wasm,
22 akien 1740984 linker_is_gnu: false,
23 akien 1732055
24     --
25 akien 1861388 2.35.1
26 akien 1732055

  ViewVC Help
Powered by ViewVC 1.1.28