-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WASM build broken #274
Comments
yeah i think the fix is to just make it use the iced time which will allow web and none web i believe. though, my question is are you also using Iced_aw main branch? If not, if you use iced master you must use iced_aw main as the crate.io one will not work with the git repo iced. |
My cargo deps:
Cargo.lock:
I also made sure to clean target/ before building again. I'm assuming it's using main, or do I need to set the branch manually for some reason? |
Any updates? Minimal working (broken) [package]
name = "a"
version = "0.1.0"
edition = "2021"
[dependencies]
iced_aw = { version = "0.11.0" } Command used:
Cargo version: 1.82.0 |
Hey, been trying to make something with iced master on web, but having trouble building the app with iced_aw, getting this error:
From what I can tell, spinner widget (src/widgets/spinner.rs 72:5) uses std::time::Instant, instead of using web_time::Instant, which causes this error.
The text was updated successfully, but these errors were encountered: