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

[SR-9568] replace arc4random usage with random in Prototypes.BigInt #52015

Closed
compnerd opened this issue Dec 22, 2018 · 2 comments
Closed

[SR-9568] replace arc4random usage with random in Prototypes.BigInt #52015

compnerd opened this issue Dec 22, 2018 · 2 comments
Assignees
Labels
standard library Area: Standard library umbrella

Comments

@compnerd
Copy link
Collaborator

Previous ID SR-9568
Radar None
Original Reporter @compnerd
Type Sub-task
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Sub-task
Assignee @compnerd
Priority Medium

md5: 29b384ed7eeaa2819fe418493bbc6569

Parent-Task:

Issue Description:

The use of `arc4random` prevents the test from building on Linux or Windows.

@Azoy
Copy link
Member

Azoy commented Dec 23, 2018

I wonder if we can replace all uses of arc4random with .random(in:) rather than just uses in BigInt. I did a search on all places arc4random is used, and there's only about 4 instances of it still being used.

@compnerd
Copy link
Collaborator Author

#21838

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

2 participants