std: use /scheme/rand
on Redox
This commit is contained in:
parent
207ee73b7a
commit
99c0d768b0
@ -49,7 +49,7 @@ cfg_if::cfg_if! {
|
||||
}
|
||||
|
||||
const PATH: &'static str = if cfg!(target_os = "redox") {
|
||||
"rand:"
|
||||
"/scheme/rand"
|
||||
} else {
|
||||
"/dev/urandom"
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user