-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build with the asmjs-unknown-emscripten
target
#23
Comments
https://github.com/kripken/emscripten/wiki/Linking Seems to suggest that there exists a |
Interesting! I'd have looked into it, but I lack both time (currently) and expertise (in Rust and Emscripten), was just hacking around. |
I’m not too interested in supporting emscripten target at this point. WASM backend is likely to replace the emscripten target in near future. |
@nagisa Even if we ignore Emscripten, WebAssembly does support dynamic linking between modules using Should we close this issue and open a new one for WASM or keep this one and rename it? |
I meant my comment to imply that wasm support is interesting to me. It
would need more work as implementing dlopen/dlsym would be necessary (the
functions are not provided).
Dlclose not being implementable doesn't seem like much of a problem.
…On Jan 3, 2018 7:58 AM, "Gabriel Majeri" ***@***.***> wrote:
@nagisa <https://github.com/nagisa> Even if we ignore Emscripten,
WebAssembly *does* support dynamic linking
<http://webassembly.org/docs/dynamic-linking/> between modules using
dlopen / dlsym (no dlclose though).
Should we close this issue and open a new one for WASM or keep this one
and rename it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AApc0ijiu9edoo7QhVDSbnMaG-f3dBfzks5tGxcFgaJpZM4Mvn3v>
.
|
wasm32-unknown-unknown doesn't support C interop, so it still has a very real use case |
cargo build --target asmjs-unknown-emscripten
gave me the following output :Admittedly, loading dynamic libraries in Emscripten makes little to no sense, so this should be expected - I ran into this when trying to build my test project which depends on
al-sys
fromalto
.I'm wondering what the desired behavior would be here. My gut feeling is that
libloading
should still compile, but produce no-ops, but on the other hand, the actual fix would probably to setlibloading
as an optional dependency ofal-sys
.The text was updated successfully, but these errors were encountered: