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
ying@Kimmys-iMac my_app % wasm-pack build -t no-modules -d /Users/ying/my_app/web/pkg --no-typescript --out-name rust_lib_my_app rust -- -Z build-std=std,panic_abort
[INFO]: 🎯 Checking for the Wasm target...
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
18.9 MiB / 18.9 MiB (100 %) 15.0 MiB/s in 1s ETA: 0s
[INFO]: 🌀 Compiling to Wasm...
error: the `-Z` flag is only accepted on the nightly channel of Cargo, but this is the `stable` channel
See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.
Error: Compiling your crate to WebAssembly failed
Caused by: Compiling your crate to WebAssembly failed
Caused by: failed to execute `cargo build`: exited with exit status: 101
full command: cd "rust" && "cargo" "build" "--lib" "--release" "--target" "wasm32-unknown-unknown" "-Z" "build-std=std,panic_abort"
🤔 Expected Behavior
What should have happened?
👟 Steps to reproduce
git clone https://github.com/kjxbyz/my_app && cd my_app
🐛 Bug description
🤔 Expected Behavior
What should have happened?
👟 Steps to reproduce
git clone https://github.com/kjxbyz/my_app && cd my_app
wasm-pack build -t no-modules -d ./web/pkg --no-typescript --out-name rust_lib_my_app rust -- -Z build-std=std,panic_abort
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version:0.13.1
rustc version:1.83.0
The text was updated successfully, but these errors were encountered: