diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-28 16:01:25 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-28 16:01:25 +0000 |
commit | 88b69a31e458fe35b143e5c90c4a641cbab5e9b1 (patch) | |
tree | 369e273affe8fedc061e4b74319fcf9b418aa961 /src/rngs/std.rs | |
parent | 4dabd850288094946be4feb9890e2f00382f9500 (diff) | |
parent | 237bc83fbfa14335404c620caa3c986e712348d9 (diff) | |
download | rand-android13-frc-resolv-release.tar.gz |
Snap for 8512216 from 237bc83fbfa14335404c620caa3c986e712348d9 to tm-frc-resolv-releaset_frc_res_330443000android13-frc-resolv-release
Change-Id: I740547fb1e350da5457bbdc9aa97addbc11a4eb7
Diffstat (limited to 'src/rngs/std.rs')
-rw-r--r-- | src/rngs/std.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/rngs/std.rs b/src/rngs/std.rs index 80f8433..cdae8fa 100644 --- a/src/rngs/std.rs +++ b/src/rngs/std.rs @@ -10,13 +10,9 @@ use crate::{CryptoRng, Error, RngCore, SeedableRng}; -#[cfg(all(any(test, feature = "std"), not(target_os = "emscripten")))] pub(crate) use rand_chacha::ChaCha12Core as Core; -#[cfg(all(any(test, feature = "std"), target_os = "emscripten"))] -pub(crate) use rand_hc::Hc128Core as Core; -#[cfg(not(target_os = "emscripten"))] use rand_chacha::ChaCha12Rng as Rng; -#[cfg(target_os = "emscripten")] use rand_hc::Hc128Rng as Rng; +use rand_chacha::ChaCha12Rng as Rng; /// The standard RNG. The PRNG algorithm in `StdRng` is chosen to be efficient /// on the current platform, to be statistically strong and unpredictable |