We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I have tried the below simple c++ code
#include <iostream> int main() { std::cout << "Hello World!\n"; return 0; }
with command emcc main.cpp -o file.wasm -s STANDALONE_WASM
emcc main.cpp -o file.wasm -s STANDALONE_WASM
and wasmtime file.wasm
wasmtime file.wasm
but I am getting
Error: failed to run main module `file.wasm` Caused by: 0: failed to instantiate "file.wasm" 1: unknown import: `env::_tzset_js` has not been defined
I am using emscripten and wasmtime latest versions. Can you please help what I am doing wrong here?
The text was updated successfully, but these errors were encountered:
I believe this was fixed in #22316. That is not yet in a release, but you can use a tip of tree build, emsdk install tot.
emsdk install tot
Sorry, something went wrong.
@kripken , also File handling will also work fine if I will use tip of tree build ?
@rggaur789 File handling support in standalone mode is pretty limited atm. There is some work on that here, but it has not landed: #18285
No branches or pull requests
Hi,
I have tried the below simple c++ code
with command
emcc main.cpp -o file.wasm -s STANDALONE_WASM
and
wasmtime file.wasm
but I am getting
I am using emscripten and wasmtime latest versions. Can you please help what I am doing wrong here?
The text was updated successfully, but these errors were encountered: