testcrate/lib.rs: use #![no_std] unconditionally

This commit is contained in:
Paolo Teti 2018-02-25 00:22:39 +01:00
parent 8289e626fe
commit 86612733be
1 changed files with 1 additions and 9 deletions

View File

@ -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]