rust-random / getrandom

A small cross-platform library for retrieving random data from (operating) system source
Apache License 2.0
264 stars 166 forks source link

Test `getrandom_uninit` #474

Closed josephlr closed 2 weeks ago

josephlr commented 3 weeks ago

Depends on #471, Alternative to #462

I verified that running the tests with MSAN:

RUSTFLAGS="-Zsanitizer=memory" cargo +nightly test -Zbuild-std --target=x86_64-unknown-linux-gnu

succeeds before this PR and fails with this PR, so we are doing the right thing here.

josephlr commented 2 weeks ago

Closing to keep conversation in #471