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
However, unfortunately, I'm not able to build it on my own:
wasm-pack build --target web
[INFO]: 🎯 Checking for the Wasm target...
[INFO]: 🌀 Compiling to Wasm...
Compiling packed_simd_2 v0.3.7
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /Users/cvoigt/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.7/src/lib.rs:214:1
|
214 | / #![feature(
215 || adt_const_params,
216 || repr_simd,
217 || rustc_attrs,
... |
226 || custom_inner_attributes,
227 || )]
||__^
For more information about this error, try `rustc --explain E0554`.
error: could not compile `packed_simd_2` due to previous error
Error: Compiling your crate to WebAssembly failed
Caused by: failed to execute `cargo build`: exited with exit status: 101
full command: "cargo""build""--lib""--release""--target""wasm32-unknown-unknown"
What am I missing?
While I have nightly available, I don't think it is used by wasm-pack. Actually, I'm not even sure if this is really the issue...
Activity
voigt commentedon May 17, 2022
fyi:
I've been able to resolve this issue by following this solution.
$ rustup run nightly $HOME/.cargo/bin/wasm-pack build --target webmsimms commentedon May 26, 2022
Just saw this. Glad you were able to fix it. I might need to update the documentation.