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
Per this comment, we only emit .js for bin targets, it's not clear what we emit for dylib, cdylib, and staticlib, but it seems likely they are incorrect.
I think .a is probably right for staticlib that is going to be run through emcc, but maybe dylibs should be .js.
The text was updated successfully, but these errors were encountered:
AFAIK, the dynamic linking story for WebAssembly is still a WIP, so I wouldn't expect rustc to be able to produce WebAssembly dynamic libraries. On the other hand, I assume that once these library types are supported, their extensions will all match the standard Linux extensions, so I'm not sure this issue is still important to have around.
workingjubilee
changed the title
Make sure all file extensions for asm.js and wasm are correct
Make sure all file extensions for wasm are correct
Oct 29, 2023
Per this comment, we only emit .js for bin targets, it's not clear what we emit for dylib, cdylib, and staticlib, but it seems likely they are incorrect.
I think .a is probably right for staticlib that is going to be run through emcc, but maybe dylibs should be .js.
The text was updated successfully, but these errors were encountered: