-
Notifications
You must be signed in to change notification settings - Fork 181
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
Document and Test that getrandom()
never panics.
#435
Comments
A slightly easier approach could be to check whether generated |
One thing to look out for is that our current implementation will emit references to In general |
Eventually it would be good to eliminate all uses of the panic infrastructure (and runtime library in general), but use_file and the fallback logic is the least urgent, IMO. |
Spun off of the review of #434
We should have a way to verify in the CI that our implementation (at least on easy-to-test architectures) does not panic. This could be done via the
no-panic
crate as a dev-dependancy.The text was updated successfully, but these errors were encountered: