Skip to content

Compile error: #![feature] may not be used on the stable release channel #5

@your-diary

Description

@your-diary
$ ./start-server.sh
info: component 'rust-std' for target 'wasm32-unknown-unknown' is up to date
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
   Compiling wasm-bindgen-macro v0.2.97
error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-macro-0.2.97/src/lib.rs:4:5
  |
4 |     feature(allow_internal_unstable),
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `wasm-bindgen-macro` (lib) due to 1 previous error
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 "/root/build/plotters-wasm-demo" && "cargo" "build" "--lib" "--release" "--target" "wasm32-unknown-unknown"
$ cargo --version
cargo 1.83.0 (5ffbef321 2024-10-29)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions