How to expose Rust functions to the JS runtime?
juh9870 opened this issue · comments
To expose functions to JS, I need access to JsRuntime, or an ability to pass extensions to a script during initialization, but as far as I can see, neither is possible currently. Am I missing something?
Accessing Rust from JS is currently not supported, by design. See discussion in #12 🙂
Closing as answered.