From b9902929a9b9edbb79662689f2e2a2406c30f58e Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 18 Sep 2020 01:22:41 +0200 Subject: [PATCH] test: #[allow(unused)] --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index ee7cf2f..6bbaf6e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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)))]