Rust: WASM build broken on newest nightly for MacOS

Created on 7 Sep 2018  ·  3Comments  ·  Source: rust-lang/rust

running cargo build --target wasm32-unknown-unknown on rustc 1.30.0-nightly (a8c11d216 2018-09-06) returns the following:

error: linking with `rust-lld` failed: signal: 6
note: dyld: Library not loaded: @rpath/libLLVM.dylib
            Referenced from: /Users/jnf/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/bin/rust-lld
            Reason: image not found

Might be related to https://github.com/rust-lang/rust/issues/53813

Most helpful comment

I think this might be fixed in the next nightly: https://github.com/rust-lang/rust/pull/54018

All 3 comments

I think this might be fixed in the next nightly: https://github.com/rust-lang/rust/pull/54018

Yeah, that looks pretty relevant. Thanks a bunch!

I can confirm this is fixed on rustc 1.30.0-nightly (fc81e3624 2018-09-07)

Was this page helpful?
0 / 5 - 0 ratings