Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/rust
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-03-20 16:47:12 +0200
committerTasos Sahanidis <tasos@tasossah.com>2024-03-20 16:47:12 +0200
commitef68af9c11b756bfd2a3c4fdb28cab95547e638e (patch)
treeef1e052f1781244795d5e830f2be7b0b859c8542 /extra/rust
parent8c7544f22da81cb0109bec39bfffaca8fcc09e86 (diff)
extra/rust: -fuse-ld=gold
Diffstat (limited to 'extra/rust')
-rw-r--r--extra/rust/PKGBUILD2
-rw-r--r--extra/rust/config.toml.patch2
2 files changed, 2 insertions, 2 deletions
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 = [