stdweb icon indicating copy to clipboard operation
stdweb copied to clipboard

`RuntimeError: unreachable` when loading `wasm-bindgen-minimal` example in the browser ...

Open the-drunk-coder opened this issue 2 years ago • 0 comments

Hi, I was trying to update my old web sequencer project a little and discovered a problem ... the js!() macro that'd trigger some events suddenly stopped working and I got an unreachable error in the console.

Investigating the error, I compiled the wasm-minimal-example found in this repo, and the error is pretty much the same:

185b031e:0x2904 Uncaught (in promise) RuntimeError: unreachable
    at 185b031e:0x2904
    at 185b031e:0x2c0c
    at 185b031e:0x2f2f
    at 185b031e:0x2fae
    at 185b031e:0x2e47
    at 185b031e:0x3083
    at finalizeInit (wasm_bindgen_minimal.js:56:10)
    at init (wasm_bindgen_minimal.js:85:12)
    at async run ((index):33:9)

Given the non-descriptive nature of the error message, I'm out of my wits here ... any hint ?

Best, N

the-drunk-coder avatar Jul 13 '22 07:07 the-drunk-coder