--- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git b/src/lib.rs a/src/lib.rs index 81969500..f77d0b13 100644 --- b/src/lib.rs +++ a/src/lib.rs @@ -22,6 +22,9 @@ #![no_std] use core::ops::Range; +#[cfg(android_dylib)] +extern crate std; + /// A PRNG producing a 32-bit output. /// /// The current implementation is `PCG-XSH-RR`.