Update testing posts

This commit is contained in:
Philipp Oppermann
2018-11-18 15:16:19 +01:00
parent bf413d3baa
commit f5aea8f015
4 changed files with 24 additions and 49 deletions

View File

@@ -1,6 +1,6 @@
#![no_std] // don't link the Rust standard library
#![cfg_attr(not(test), no_main)] // disable all Rust-level entry points
#![cfg_attr(test, allow(dead_code, unused_macros, unused_imports))]
#![cfg_attr(test, allow(unused_imports))]
use core::panic::PanicInfo;