From 83a209397ebfe31d0d55b3a058b845ae347ec20b Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 18 Sep 2020 00:23:30 +0200 Subject: [PATCH] fix tests --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 27e83ff..d3e7de6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,7 @@ #[cfg(not(any(feature = "semihosting", test)))] use panic_abort as _; -#[cfg(any(feature = "semihosting", not(test)))] +#[cfg(all(feature = "semihosting", not(test)))] use panic_semihosting as _; use log::{info, warn};