about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-13 12:12:22 +0200
committerGitHub <noreply@github.com>2024-08-13 12:12:22 +0200
commitc977deb24b11f3edebbc22eb2ec3869d52c90e16 (patch)
tree08026276a72b27e79312db618ca04ce1c56543f2 /compiler/rustc_codegen_llvm/src/errors.rs
parent00d040e50a8ab80e3f30aebcb136af8dd61715e7 (diff)
parent99c0d768b0399b8f4f95dc285bd21e2e7ca1b10a (diff)
downloadrust-c977deb24b11f3edebbc22eb2ec3869d52c90e16.tar.gz
rust-c977deb24b11f3edebbc22eb2ec3869d52c90e16.zip
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions