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
error[E0308]: mismatched types
--> /home/tux/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_egui-0.28.0/src/web_clipboard.rs:233:13
|
233 | let Some(clipboard) = nav.clipboard() else {
| ^^^^^^^^^^^^^^^ --------------- this expression has type `Clipboard`
| |
| expected `Clipboard`, found `Option<_>`
|
= note: expected struct `Clipboard`
found enum `std::option::Option<_>`
For more information about this error, try `rustc --explain E0308`.
The text was updated successfully, but these errors were encountered:
i'm using this template for my project and i'm unable to build wasm due to this error, but i only need egui for debug builds! i use it as a dependency for bevy editor pls, and so i don't need it in my wasm builds at all!
[dependencies]
bevy_editor_pls = "0.9"
i tried to put this one in [dev-dependencies] but it doesn't work, cuz as far as i understand it can't work with binary projects
The
web-sys
clipboard API is now a bit different, see:rustwasm/wasm-bindgen#3992
The text was updated successfully, but these errors were encountered: