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

Add in a RtlGenRandom fallback for non-UWP Windows #337

Merged
merged 3 commits into from Feb 22, 2023

Commits on Feb 22, 2023

  1. Add in a RtlGenRandom fallback for non-UWP Windows

    In some instances BCryptRandom will fail when RtlGenRandom will work.
    On UWP, we might be unable to actually use RtlGenRandom.
    
    Thread the needle and use RtlGenRandom when we have to, when we're able.
    
    See also rust-lang/rust#108060
    
    Fixes rust-random#314
    chutten committed Feb 22, 2023
    Copy the full SHA
    6609385 View commit details
    Browse the repository at this point in the history
  2. style suggestion

    Co-authored-by: Artyom Pavlov <newpavlov@gmail.com>
    chutten and newpavlov committed Feb 22, 2023
    Copy the full SHA
    8060d8e View commit details
    Browse the repository at this point in the history
  3. appease clippy

    chutten committed Feb 22, 2023
    Copy the full SHA
    baf37d9 View commit details
    Browse the repository at this point in the history