You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root cause, *.rlib pass to llvm-nm, llvm-nm reporting errors.
$ /usr/local/Cellar/llvm/3.9.1/bin/llvm-nm /Users/vvakame/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-9a66b6a343d52844.rlib
std-9a66b6a343d52844.0.o:
U _Unwind_Backtrace
U _Unwind_FindEnclosingFunction
U _Unwind_GetIPInfo
-------- T _ZN101_$LT$$RF$$u27$a$u20$$u5b$std..net..addr..SocketAddr$u5d$$u20$as$u20$std..net..addr..ToSocketAddrs$GT$15to_socket_addrs17h5114a9a05148274dE
-------- T _ZN101_$LT$std..ffi..os_str..OsString$u20$as$u20$core..convert..From$LT$collections..string..String$GT$$GT$4from17h5b6e8ea4a4507a33E
-------- T _ZN101_$LT$std..io..cursor..Cursor$LT$$RF$$u27$a$u20$mut$u20$$u5b$u8$u5d$$GT$$u20$as$u20$std..io..Write$GT$5flush17h4852463c3395cc24E
....
-------- s vtable.k
-------- s vtable.l
-------- s vtable.m
U waitpid
U write
/usr/local/Cellar/llvm/3.9.1/bin/llvm-nm: /Users/vvakame/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-9a66b6a343d52844.rlib(rust.metadata.bin) The end of the file was unexpectedly encountered
related: emscripten-core/emscripten#5007
I tried this code:
I expected to see this happen: compiled successfully.
Instead, this happened: emcc reporting errors.
Meta
rustc --version --verbose
:Backtrace: None.
This issue can see by emscripten-core/emscripten#5004 .
and suppressed now by emscripten-core/emscripten@93a082b .
root cause,
*.rlib
pass tollvm-nm
,llvm-nm
reporting errors.#38558 same issue?
The text was updated successfully, but these errors were encountered: