Skip to content

Unable to build project #11

@voigt

Description

@voigt

Hey, first of all: cool project!

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...

$ rustup update                           
info: syncing channel updates for 'stable-x86_64-apple-darwin'
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
info: checking for self-updates

   stable-x86_64-apple-darwin unchanged - rustc 1.60.0 (7737e0b5c 2022-04-04)
  nightly-x86_64-apple-darwin unchanged - rustc 1.62.0-nightly (f1f721e64 2022-05-13)

info: cleaning up downloads & tmp directories

$ wasm-pack --version
wasm-pack 0.10.2

Any hint is appreciated :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions