From 458aba665203c05bc5dea926f102ad10a425993f Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Wed, 14 Oct 2020 03:20:59 +0300 Subject: [PATCH] Gate QEMU functions behind testing features At least for now, it's not used anywhere else. --- nucleus/src/qemu.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nucleus/src/qemu.rs b/nucleus/src/qemu.rs index c527e24..0229ad2 100644 --- a/nucleus/src/qemu.rs +++ b/nucleus/src/qemu.rs @@ -1,4 +1,5 @@ pub mod semihosting { + #[cfg(test)] pub fn exit_success() { use qemu_exit::QEMUExit;