Преглед изворни кода

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

Paolo Teti пре 7 година
родитељ
комит
86612733be
1 измењених фајлова са 1 додато и 9 уклоњено
  1. 1 9
      testcrate/src/lib.rs

+ 1 - 9
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]