[rust] or-patterns syntax is experimental
2xAA opened this issue · comments
Sam Wray commented
Using rust 1.51.0
, running ./setup_web.sh
(after #21) results in the following output:
Compiling wasm-bindgen-cli-support v0.2.75
error[E0658]: or-patterns syntax is experimental
--> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:354:23
|
354 | kind: VectorKind::Externref | VectorKind::NamedExternref(_),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
error[E0658]: or-patterns syntax is experimental
--> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:358:23
|
358 | kind: VectorKind::Externref | VectorKind::NamedExternref(_),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
error[E0658]: or-patterns syntax is experimental
--> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:362:23
|
362 | kind: VectorKind::Externref | VectorKind::NamedExternref(_),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
error[E0658]: or-patterns syntax is experimental
--> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:366:23
|
366 | kind: VectorKind::Externref | VectorKind::NamedExternref(_),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
error[E0658]: or-patterns syntax is experimental
--> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:370:23
|
370 | kind: VectorKind::Externref | VectorKind::NamedExternref(_),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
error[E0658]: or-patterns syntax is experimental
--> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:374:23
|
374 | kind: VectorKind::Externref | VectorKind::NamedExternref(_),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
error[E0658]: or-patterns syntax is experimental
--> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:378:23
|
378 | kind: VectorKind::Externref | VectorKind::NamedExternref(_),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
error: aborting due to 7 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `wasm-bindgen-cli-support`
The rustc --explain E0658
suggests to use a nightly build to avoid this error.
I've downloaded 1.56.0-nightly
, but it still fails with the same output.
Sam Wray commented
My bad, rustup update
fixed this.
Mentioned in the README, of course: https://github.com/emilk/egui_template#:~:text=Make%20sure%20you%20are%20using%20the%20latest%20version%20of%20stable%20rust%20by%20running%20rustup%20update