test: #[allow(unused)]

This commit is contained in:
Astro 2020-09-18 01:22:41 +02:00
parent edc675f5af
commit b9902929a9

View File

@ -1,6 +1,7 @@
#![cfg_attr(not(test), no_std)]
#![cfg_attr(not(test), no_main)]
#![feature(maybe_uninit_extra, maybe_uninit_ref)]
#![cfg_attr(test, allow(unused))]
// TODO: #![deny(warnings, unused)]
#[cfg(not(any(feature = "semihosting", test)))]