From 86612733be769c45482654200054a0d32a7aa923 Mon Sep 17 00:00:00 2001 From: Paolo Teti Date: Sun, 25 Feb 2018 00:22:39 +0100 Subject: [PATCH] testcrate/lib.rs: use #![no_std] unconditionally --- testcrate/src/lib.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/testcrate/src/lib.rs b/testcrate/src/lib.rs index ae9e4e2..2e7f0d4 100644 --- a/testcrate/src/lib.rs +++ b/testcrate/src/lib.rs @@ -1,9 +1 @@ -#![cfg_attr(feature = "no_std", no_std)] - -#[cfg(test)] -mod tests { - #[test] - fn it_works() { - assert_eq!(2 + 2, 4); - } -} +#![no_std] \ No newline at end of file