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