diff --git a/hypatia/src/runtime.rs b/hypatia/src/runtime.rs index f847d65..fd4cda4 100644 --- a/hypatia/src/runtime.rs +++ b/hypatia/src/runtime.rs @@ -9,7 +9,7 @@ #[macro_export] macro_rules! runtime { () => { - #[cfg(all(target_os = "none"))] + #[cfg(not(test))] mod no_std_runtime { use core::panic::PanicInfo;