-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Enable arc4random(3)
on all supported BSDs and macOS/Darwin
#12608
Conversation
All BSD-based platforms supported by Crystal have arc4random(3), add support for it where it was missing. Fixes #12607
Haha sorry, @Blacksmoke16 I completely swapped all your labels 😆 Just for clarification: I'd see it as feature, not a bug because Random worked on all BSDs, this just enables using a better function (I guess missing that could be seen as a bug, but it's not hard broken). Also we've usually labeled issues about |
Haha all good, I was basing it off of the original issue. Updated that one to be feature and generic bsd as well. |
Add arc4random support to macOS/Darwin
Co-authored-by: Jamie Gaskins <jgaskins@hey.com>
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.
Thank you @dmgk 🙏
arc4random(3)
on all supported BSDs and macOS/Darwin
All BSD-based platforms supported by Crystal have arc4random(3), add support for it where it was missing.
Fixes #12607