From ff28cacd13898217b94e43cadd9038cef8d592b4 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Wed, 22 Feb 2017 03:07:57 +0000 Subject: [PATCH] Enable std and std macros during test builds. --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 7855923..1529927 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,6 +32,10 @@ //! hatred of the Daleks. Rusty destroys the other Daleks and departs the //! ship, determined to track down and bring an end to the Dalek race. +#[cfg(test)] +#[macro_use] +extern crate std; + #[cfg(test)] extern crate test;