How to expose Rust functions to the JS runtime?
Closed this issue · 2 comments
juh9870 commented
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?
Bromeon commented
Accessing Rust from JS is currently not supported, by design. See discussion in #12 🙂
Bromeon commented
Closing as answered.