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
I'm attempting to compile a non-trivial application written in Rust and using a large number of external libraries to WASM, and am encountering the following error:
wasm-ld: error: unable to find library -lstdc++
Looking at the log, stdc++ is only present after a file that originates from the wasm32-wasi toolchain:
I'll be the first to admit this is probably a trivial error, but after a decent chunk of searching I wasn't able to find anyone else experiencing this specific issue in combination with Rust and WASI.
Ah thank you! This pushed me to investigate a bit more, and I discovered that one of my deps was manually invoking cc to determine the availability of libstdc++, which was present on my system since I was using Linux. Gonna close this since it appears to be an issue with my specific dependency versus wasi-sdk.
I'm attempting to compile a non-trivial application written in Rust and using a large number of external libraries to WASM, and am encountering the following error:
Looking at the log,
stdc++
is only present after a file that originates from thewasm32-wasi
toolchain:I'll be the first to admit this is probably a trivial error, but after a decent chunk of searching I wasn't able to find anyone else experiencing this specific issue in combination with Rust and WASI.
I'm using the following environment variables:
The text was updated successfully, but these errors were encountered: