aboutsummaryrefslogtreecommitdiff
path: root/ctr-std/src/lib.rs
diff options
context:
space:
mode:
authorFenrir <[email protected]>2017-12-01 21:57:34 -0700
committerFenrirWolf <[email protected]>2017-12-01 22:33:03 -0700
commit8ba058552b61484248fc295dfbbe2e18a9d49e48 (patch)
tree0c1bdd596147abee8dda56ac98ca009fa699a707 /ctr-std/src/lib.rs
parentUpdate bindings for libctru v1.4.0 (diff)
downloadctru-rs-8ba058552b61484248fc295dfbbe2e18a9d49e48.tar.xz
ctru-rs-8ba058552b61484248fc295dfbbe2e18a9d49e48.zip
Patch `std` to be compatible with Rust nightly-2017-12-01
This only fixes things enough so that the project compiles again. More standard library changes from upstream Rust will be pulled in later.
Diffstat (limited to 'ctr-std/src/lib.rs')
-rw-r--r--ctr-std/src/lib.rs14
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};
-}