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

Delegate to linux_android from linux_android_with_fallback. #459

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

briansmith
Copy link
Contributor

@briansmith briansmith commented Jun 6, 2024

Instead of duplicating the implementation of linux_android::getrandom_inner inline, call linux_android::getrandom_inner, like we do for use_file::getrandom_inner. This way, there is no doubt that they do exactly the same thing. This then allows us to move getrandom_syscall to linux_android, which is where it belongs, since it is Linux/Android-specific.

Instead of duplicating the implementation of
`linux_android::getrandom_inner` inline, call
`linux_android::getrandom_inner`, like we do for
`use_file::getrandom_inner`. This way, there is no doubt that they do
exactly the same thing.
@newpavlov newpavlov merged commit 10a0ae0 into rust-random:master Jun 6, 2024
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants