From ef68af9c11b756bfd2a3c4fdb28cab95547e638e Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Wed, 20 Mar 2024 16:47:12 +0200 Subject: extra/rust: -fuse-ld=gold --- extra/rust/PKGBUILD | 2 +- extra/rust/config.toml.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'extra') diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD index 02285347..7933ccf5 100644 --- a/extra/rust/PKGBUILD +++ b/extra/rust/PKGBUILD @@ -6,7 +6,7 @@ # see https://github.com/rust-lang/rust/issues/60294 source+=(config.toml.patch) -b2sums+=('686516fd83970d2157ce543ceaec55e44f0631975ee71937fec7fb108c0a60000c95b77b3af2e1b5764882d34612d5bce2337f40a89e5e0626ec309ef8edd146') +b2sums+=('899c8ba0052c72095e3fb8e9f1d06c91dafbec2403f605163765d8493ccb6255fbd719848ba92a04d443af99edd64976bafc8d96e06f5f7f79291eb060fdabc7') eval "$( declare -f prepare | \ diff --git a/extra/rust/config.toml.patch b/extra/rust/config.toml.patch index 43575b80..f54a06cd 100644 --- a/extra/rust/config.toml.patch +++ b/extra/rust/config.toml.patch @@ -5,7 +5,7 @@ [llvm] link-shared = true +link-jobs = 1 -+use-linker = "/usr/sbin/ld.gold" ++use-linker = "gold" [build] target = [ -- cgit v1.2.3-70-g09d2