-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I cloned this project, installed cargo-web and tried to run it with make run
. This leads to the following panic while processing todomvc.wasm
:
Processing "todomvc.wasm"...
thread 'main' panicked at 'unknown name section chunk type: 7', /home/myusername/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-web-0.6.26/src/wasm_context.rs:642:
41
stack backtrace:
0: rust_begin_unwind
at /rustc/59eed8a2aac0230a8b53e89d4e99d55912ba6b35/library/std/src/panicking.rs:517:5
1: std::panicking::begin_panic_fmt
at /rustc/59eed8a2aac0230a8b53e89d4e99d55912ba6b35/library/std/src/panicking.rs:460:5
2: cargo_web::wasm_context::Context::from_module
3: cargo_web::wasm::process_wasm_file
4: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
5: cargo_web::cargo_shim::BuildConfig::build_internal
6: cargo_web::cargo_shim::BuildConfig::build
7: cargo_web::build::Project::build_or_check
8: cargo_web::cmd_build::command_build_or_check
9: cargo_web::run
10: cargo_web::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
make: *** [Makefile:13: build-wasm] Error 101
Details
- Operating System:
Ubuntu 20.04.3 LTS (focal)
- Cargo Version:
cargo 1.56.0 (4ed5d137b 2021-10-04)
- Cargo-Web Version:
cargo-web 0.6.26
Metadata
Metadata
Assignees
Labels
No labels