Wasm-bindgen: [BUG] failed to generate bindings for import

Created on 17 Jun 2019  路  1Comment  路  Source: rustwasm/wasm-bindgen

Steps to Reproduce

  1. The code is here

  2. Run npm install

  3. Run npm run build-prod-force

I get this error:

error: failed to generate bindings for import `Closure(Closure { shim_idx: 20, dtor_idx: 21, function: Function { arguments: [Anyref], shim_idx: 20, ret: Unit }, mutable: true })`
    caused by: no function table found in module
Error: Running the wasm-bindgen CLI

This is using the latest wasm-bindgen (0.2.46) and latest wasm-pack (0.8.1)

bug

Most helpful comment

Oh wow that's a chain of events I wouldn't have expected, should be fixed in https://github.com/rustwasm/wasm-bindgen/pull/1606!

>All comments

Oh wow that's a chain of events I wouldn't have expected, should be fixed in https://github.com/rustwasm/wasm-bindgen/pull/1606!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gitmko0 picture gitmko0  路  3Comments

alexcrichton picture alexcrichton  路  3Comments

fitzgen picture fitzgen  路  3Comments

aschampion picture aschampion  路  4Comments

MarcAntoine-Arnaud picture MarcAntoine-Arnaud  路  3Comments