Skip to content

Commit 8661273

Browse files
committed
testcrate/lib.rs: use #![no_std] unconditionally
1 parent 8289e62 commit 8661273

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

testcrate/src/lib.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
#![cfg_attr(feature = "no_std", no_std)]
2-
3-
#[cfg(test)]
4-
mod tests {
5-
#[test]
6-
fn it_works() {
7-
assert_eq!(2 + 2, 4);
8-
}
9-
}
1+
#![no_std]

0 commit comments

Comments
 (0)