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
I am using wasmtime, to run .wasm generated by wasm-pack
In wasmtime,
let import_object = imports! { "env" => { "get_counter" => get_counter_func, "add_to_counter" => add_to_counter_func, } };
How do I import these functions in my .wasm file. Sorry for this noob question, I couldn't find any doc in it
The text was updated successfully, but these errors were encountered:
What is that imports macro?
imports
You have to use extern blocks.
extern
I don't think this has anything to do with wasm-pack though
Sorry, something went wrong.
No branches or pull requests
I am using wasmtime, to run .wasm generated by wasm-pack
In wasmtime,
How do I import these functions in my .wasm file.
Sorry for this noob question, I couldn't find any doc in it
The text was updated successfully, but these errors were encountered: