Closed
Description
When returning Result type we must use JsValue as the type to hold error cases. JsValue isn't supported on the wasm32-wasi target, if attempting to build for cranelift (eg. for use with wasmtime).
It would be nice to have use a supported interface type for the error value that works in both wasm32-unknown-unknown
and wasm32-wasi
targets.