Skip to content
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

Global rng doesn't work in webassembly #57

Closed
dullbananas opened this issue Mar 25, 2023 · 1 comment
Closed

Global rng doesn't work in webassembly #57

dullbananas opened this issue Mar 25, 2023 · 1 comment

Comments

@dullbananas
Copy link

When using the global rng functions (such as fastrand::u8 instead of fastrand::Rng::u8) or Rng::new, it fails because it tries to import "env" at runtime (#34). This should be fixed or mentioned in the docs.

@taiki-e
Copy link
Collaborator

taiki-e commented Apr 7, 2023

Duplicate of #27

@taiki-e taiki-e marked this as a duplicate of #27 Apr 7, 2023
@taiki-e taiki-e closed this as completed Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants