From 85a8540d44e89981041d9301037f339b3d444792 Mon Sep 17 00:00:00 2001 From: Gwilym Inzani Date: Tue, 24 Oct 2023 20:22:43 +0100 Subject: [PATCH] Add missing #[cfg(test)] --- agb/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/agb/src/lib.rs b/agb/src/lib.rs index a10992f6..d44a227e 100644 --- a/agb/src/lib.rs +++ b/agb/src/lib.rs @@ -345,6 +345,7 @@ pub mod test_runner { } // needed to fudge the #[entry] below + #[cfg(test)] mod agb { pub mod test_runner { pub use super::super::agb_start_tests;