commit:     4a6488f54984ce1068acba95416ae40f43d7e2b7
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 24 17:31:50 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Nov 24 17:34:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a6488f5

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 <AT> gentoo.org>

 dev-lang/rust/rust-1.48.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/rust/rust-1.48.0.ebuild b/dev-lang/rust/rust-1.48.0.ebuild
index 16a3d1da232..d89b0fa8404 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#,}"

Reply via email to