We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
getrandom
1 parent d6d280b commit b95c491Copy full SHA for b95c491
src/libstd/sys/unix/rand.rs
@@ -61,6 +61,7 @@ mod imp {
61
continue;
62
} else if err == libc::ENOSYS {
63
GETRANDOM_UNAVAILABLE.store(true, Ordering::Relaxed);
64
+ return false;
65
} else if err == libc::EAGAIN {
66
return false;
67
} else {
0 commit comments