Skip to content

wasm-pack build panics on Installing wasm-bindgen... step #1229

Open
@Niedzwiedzw

Description

@Niedzwiedzw

Finished release [optimized] target(s) in 0.08s
[INFO]: License key is set in Cargo.toml but no LICENSE file(s) were found; Please add the LICENSE file(s) to your project directory
[INFO]: Installing wasm-bindgen...
thread 'main' panicked at 'unknown instruction Block(Block { seq: Id { idx: 1 } })', crates/wasm-interpreter/src/lib.rs:367:18
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: wasm_bindgen_wasm_interpreter::Interpreter::call
3: wasm_bindgen_wasm_interpreter::Interpreter::interpret_descriptor
4: wasm_bindgen_cli_support::descriptors::execute
5: wasm_bindgen_cli_support::Bindgen::generate_output
6: wasm_bindgen_cli_support::Bindgen::generate
7: wasm_bindgen::main
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
Error: Running the wasm-bindgen CLI
Caused by: failed to execute wasm-bindgen: exited with exit status: 101
full command: "/home/niedzwiedz/.cache/.wasm-pack/wasm-bindgen-5f26acfc988649a3/wasm-bindgen" "/home/niedzwiedz/crionis/crio-app/target/wasm32-unknown-unknown/release/editor.wasm" "--out-dir" "/home/niedzwiedz/crionis/crio-app/pkg" "--typescript" "--target" "bundler" "--out-name" "index"

EDIT: https://github.com/rustwasm/wasm-bindgen/blob/629a623adfe27c67a21408c120d3466965575e45/crates/wasm-interpreter/src/lib.rs#L367 this is the line that crashes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions