From 413a819e6452e3d4d6707171f453601cc560a324 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sat, 30 Oct 2021 10:27:25 +0100 Subject: [PATCH] Fix compiler warning for tests --- agb/src/number.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/agb/src/number.rs b/agb/src/number.rs index d3c2b27b..474adcb4 100644 --- a/agb/src/number.rs +++ b/agb/src/number.rs @@ -556,6 +556,7 @@ fn test_vector_multiplication_and_division(_gba: &mut super::Gba) { } #[cfg(feature = "alloc")] +#[cfg(test)] mod formatting_tests { use super::Num; use alloc::format;