You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd wasm-bindgen/examples/without-a-bundler-no-modules/
wasm-pack build --target no-modules
See the error below.
Expected Behavior
Build finishes without errors.
Actual Behavior
Build fails leaving an error (using rustc 1.45.0-nightly (a74d1862d 2020-05-14)):
thread 'main' panicked at 'internal error: entered unreachable code', crates/cli-support/src/decode.rs:157:1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit code: 101
Additional Context
It seems like a regression after merging #2105
The same build works before the merge.
The text was updated successfully, but these errors were encountered:
hey there. We ran into the same thing yesterday here. Turns out you have to copy the example's folder (in your case without-a-bundler-no-modules) somewhere out of the wasm-bindgen repo
Describe the Bug
The
without-a-bundler-no-modules
example does not build.Steps to Reproduce
git clone https://github.com/rustwasm/wasm-bindgen
cd wasm-bindgen/examples/without-a-bundler-no-modules/
wasm-pack build --target no-modules
Expected Behavior
Build finishes without errors.
Actual Behavior
Build fails leaving an error (using rustc 1.45.0-nightly (a74d1862d 2020-05-14)):
Additional Context
It seems like a regression after merging #2105
The same build works before the merge.
The text was updated successfully, but these errors were encountered: