rust/library/std
Matthias Krüger c977deb24b
Rollup merge of #128655 - joboet:play_with_the_dice, r=ChrisDenton
std: refactor UNIX random data generation

This PR makes a number of changes to the UNIX randomness implementation:
* Use `io::Error` for centralized error handling
* Move the file-fallback logic out of the `getrandom`-specific module
* Stop redefining the syscalls on macOS and DragonFly, they have appeared in `libc`
* Add a `OnceLock` to cache the random device file descriptor
2024-08-13 12:12:22 +02:00
..
benches Reformat use declarations. 2024-07-29 08:26:52 +10:00
src Rollup merge of #128655 - joboet:play_with_the_dice, r=ChrisDenton 2024-08-13 12:12:22 +02:00
tests Reformat use declarations. 2024-07-29 08:26:52 +10:00
build.rs std float tests: special-case Miri in feature detection 2024-08-08 12:17:50 +02:00
Cargo.toml Update compiler-builtins version to 0.1.118 2024-08-08 14:47:49 +02:00