-
Notifications
You must be signed in to change notification settings - Fork 28
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
🌐 Add WASM Support #14
Conversation
Tested on my project and it looks like it works. |
a58b22b
to
d9170e7
Compare
LGTM! |
OK, I removed I also added |
Thanks! I would like to run tests on CI if possible -- do you think it is possible to do something like smol-rs/fastrand#7? |
I'll take a look at it. |
bd56dd5
to
3cf284e
Compare
There you go! Tests are passing for WASM in CI. Thanks for the link on how to set that up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @zicklag!
No problem, glad I could help! I love the simple smol ecosystem. 😃 |
Published in v2.4.0. |
Still, testing, but would you be open to supporting WASM? It looks like all that is needed is an extra dep for supporting
std::time::Instant
on web.It's behind a feature flag so it doesn't effect anybody unconcerned with WASM.