Skip to content

Commit

Permalink
std: use /scheme/rand on Redox
Browse files Browse the repository at this point in the history
  • Loading branch information
joboet committed Aug 12, 2024
1 parent 207ee73 commit 99c0d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/pal/unix/rand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ cfg_if::cfg_if! {
}

const PATH: &'static str = if cfg!(target_os = "redox") {
"rand:"
"/scheme/rand"
} else {
"/dev/urandom"
};
Expand Down

0 comments on commit 99c0d76

Please sign in to comment.