Hi, I'm trying to get boa to work on the Internet Computer (IC): https://smartcontracts.org/docs/introduction/welcome.html
The IC uses wasmtime, and whenever I try to deploy a local Wasm module to my local IC environment I get errors similar to the following:
Module imports function '__wbindgen_describe' from '__wbindgen_placeholder__' that is not exported by the runtime.
AFAIK, I cannot control the wasmtime host environment on the IC, as that would require larger changes to the IC itself. Is there some way to turn off the need for wasm-bindgen, or somehow get boa to work well in non-browser environments? It seems boa is assuming the end Wasm module will be running in a JavaScript environment, whereas in my case (and possibly others' in the future) we don't necessarily want to run our Rust code in the browser, even if the Rust code is compiled to Wasm.
Hi, I'm trying to get boa to work on the Internet Computer (IC): https://smartcontracts.org/docs/introduction/welcome.html
The IC uses wasmtime, and whenever I try to deploy a local Wasm module to my local IC environment I get errors similar to the following:
AFAIK, I cannot control the wasmtime host environment on the IC, as that would require larger changes to the IC itself. Is there some way to turn off the need for wasm-bindgen, or somehow get boa to work well in non-browser environments? It seems boa is assuming the end Wasm module will be running in a JavaScript environment, whereas in my case (and possibly others' in the future) we don't necessarily want to run our Rust code in the browser, even if the Rust code is compiled to Wasm.