Closed
Description
🐛 Bug description
The wasm-pack executes step wasm_opt after wasm_bindgen. The wasm_bindgen generates 'webidl-bindings' table with specific function ids in it. When wasm_opt is run, the function ids changed, e.g. some import or local functions are removed, thus breaking the webidl-bindings references.
🤔 Expected Behavior
The 'webidl-bindings' table contains right indices.
👟 Steps to reproduce
(Too deep a bug chain, depends on fixes at rust-lang/rust#64187 and #654)
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.8.1
rustc version:
/cc @alexcrichton
Metadata
Metadata
Assignees
Labels
No labels