summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-11-24 09:31:50 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-11-24 09:34:12 -0800
commit4a6488f54984ce1068acba95416ae40f43d7e2b7 (patch)
tree3f4330af30679f98aaa041445b2fb9188ac246a2 /dev-lang
parentapp-admin/sudo: Removed old (diff)
downloadgentoo-4a6488f54984ce1068acba95416ae40f43d7e2b7.tar.gz
gentoo-4a6488f54984ce1068acba95416ae40f43d7e2b7.tar.bz2
gentoo-4a6488f54984ce1068acba95416ae40f43d7e2b7.zip
dev-lang/rust: fix wasm linker in 1.48.0
Closes: https://bugs.gentoo.org/756286 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/rust/rust-1.48.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.48.0.ebuild b/dev-lang/rust/rust-1.48.0.ebuild
index 16a3d1da2323..d89b0fa84047 100644
--- a/dev-lang/rust/rust-1.48.0.ebuild
+++ b/dev-lang/rust/rust-1.48.0.ebuild
@@ -213,7 +213,7 @@ src_configure() {
if use system-llvm; then
# un-hardcode rust-lld linker for this target
# https://bugs.gentoo.org/715348
- sed -i '/linker:/ s/rust-lld/wasm-ld/' src/librustc_target/spec/wasm32_base.rs || die
+ sed -i '/linker:/ s/rust-lld/wasm-ld/' compiler/rustc_target/src/spec/wasm32_base.rs || die
fi
fi
rust_targets="${rust_targets#,}"