From 76a65ca3eeb3b38ed8a96c0ef2504a7c84209457 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 25 Jan 2019 13:29:02 +0100 Subject: [PATCH] Include the standard library for unit tests --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c65e7375..319b9942 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -#![no_std] +#![cfg_attr(not(test), no_std)] #![cfg_attr(not(test), no_main)] #![cfg_attr(test, allow(unused_imports))]