std: use /scheme/rand on Redox

This commit is contained in:
joboet 2024-08-12 10:23:26 +02:00
parent 207ee73b7a
commit 99c0d768b0
No known key found for this signature in database
GPG Key ID: 704E0149B0194B3C

View File

@ -49,7 +49,7 @@ fn read(bytes: &mut [u8]) -> crate::io::Result<()> {
}
const PATH: &'static str = if cfg!(target_os = "redox") {
"rand:"
"/scheme/rand"
} else {
"/dev/urandom"
};