Make Rust based .wasm module take an import for a host function. #4114
Unanswered
JustAnotherCodemonkey
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to learn how to use WASM modules for mods for my game and have run into an issue for which I can not find documentation: I can provide a host function using the Wasmer crate to use as an import for the module but if I'm writing the WASM module in Rust and compiling to WASM, how do I get access to that host function in the Rust code for the WASM module?
Beta Was this translation helpful? Give feedback.
All reactions