Skip to content

Commit 11d6386

Browse files
committed
Use real libcore instead of renamed libstd
1 parent f8fd39d commit 11d6386

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/distributions/uniform.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ mod tests {
939939
not(target_arch = "wasm32"),
940940
not(target_arch = "asmjs")))]
941941
fn test_float_assertions() {
942-
use core::panic::catch_unwind;
942+
use std::panic::catch_unwind;
943943
use super::SampleUniform;
944944
fn range<T: SampleUniform>(low: T, high: T) {
945945
let mut rng = ::test::rng(253);

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
#![cfg_attr(feature = "wasm-bindgen", feature(use_extern_macros))]
234234
#![cfg_attr(feature = "wasm-bindgen", feature(wasm_import_module))]
235235

236-
#[cfg(feature="std")] extern crate std as core;
236+
#[cfg(feature = "std")] extern crate core;
237237
#[cfg(all(feature = "alloc", not(feature="std")))] extern crate alloc;
238238

239239
#[cfg(all(target_arch="wasm32", not(target_os="emscripten"), feature="stdweb"))]

0 commit comments

Comments
 (0)