koute / stdweb

A standard library for the client-side Web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

the-drunk-coder opened this issue · 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