-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm not sure I understand the question right, but If you are running in a JavaScript environment (e.g. browser, NodeJS), you can link to JS functions and run that. See the |
Beta Was this translation helpful? Give feedback.
I'm not sure I understand the question right, but
wasm-bindgen
is designed to be used with Rust compiled towasm32-unknown-unknown
and run in a JavaScript environment. It is not designed to somehow run JavaScript from a native (e.g. x86) environment.If you are running in a JavaScript environment (e.g. browser, NodeJS), you can link to JS functions and run that. See the
wasm-bindgen
book for more details.