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
That's a tracking issue. I noticed that wasmer compile says “Compile a WebAssembly binary”, and wasmer create-exe says “Compile a WebAssembly binary into a native executable”. That's confusing. We should either clarify this, or re-design the API :-).
The text was updated successfully, but these errors were encountered:
@Hywanwasmer create-exe creates an executable that has the VM attached inside, so it can be run directly, without a Wasmer runtime.
wasmer create-exe myfile.wasm -o ./myexe
./myexe # this should not require wasmer, it's also even faster to start since it doesn't require any dlopen/dlsym at runtime (the code is already attached to the binary)
wasmer compile myfile.wasm -o myfile.so --native
wasmer run myfile.so # this requires wasmer
That's a tracking issue. I noticed that
wasmer compile
says “Compile a WebAssembly binary”, andwasmer create-exe
says “Compile a WebAssembly binary into a native executable”. That's confusing. We should either clarify this, or re-design the API :-).The text was updated successfully, but these errors were encountered: