diff options
Diffstat (limited to 'ctr-std/src/lib.rs')
| -rw-r--r-- | ctr-std/src/lib.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ctr-std/src/lib.rs b/ctr-std/src/lib.rs index 28ab259..4c08fe2 100644 --- a/ctr-std/src/lib.rs +++ b/ctr-std/src/lib.rs @@ -64,8 +64,6 @@ use prelude::v1::*; debug_assert_ne, unreachable, unimplemented, write, writeln, try)] extern crate core as __core; -#[allow(deprecated)] extern crate rand as core_rand; - #[macro_use] #[macro_reexport(vec, format)] extern crate alloc; @@ -184,20 +182,8 @@ mod sys; // Private support modules mod panicking; -mod rand; mod memchr; // The runtime entry point and a few unstable public functions used by the // compiler pub mod rt; - -// Some external utilities of the standard library rely on randomness (aka -// rustc_back::TempDir and tests) and need a way to get at the OS rng we've got -// here. This module is not at all intended for stabilization as-is, however, -// but it may be stabilized long-term. As a result we're exposing a hidden, -// unstable module so we can get our build working. -#[doc(hidden)] -#[unstable(feature = "rand", issue = "0")] -pub mod __rand { - pub use rand::{thread_rng, ThreadRng, Rng}; -} |