From c3d4dbf79e5dd8ec921ca851ef76fed71637107c Mon Sep 17 00:00:00 2001 From: Carl Wachter Date: Thu, 23 May 2024 12:15:33 +0200 Subject: [PATCH] fix: removed improper cfg --- src/syscalls/interfaces/uhyve.rs | 1 - src/syscalls/mod.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/syscalls/interfaces/uhyve.rs b/src/syscalls/interfaces/uhyve.rs index 29a6f6819a..6a283ab08b 100644 --- a/src/syscalls/interfaces/uhyve.rs +++ b/src/syscalls/interfaces/uhyve.rs @@ -9,7 +9,6 @@ use x86::io::*; use crate::arch; use crate::arch::mm::{paging, PhysAddr, VirtAddr}; use crate::syscalls::interfaces::SyscallInterface; -#[cfg(feature = "newlib")] const UHYVE_PORT_EXIT: u16 = 0x540; const UHYVE_PORT_CMDSIZE: u16 = 0x740; diff --git a/src/syscalls/mod.rs b/src/syscalls/mod.rs index ee89b0db81..2b499064b1 100644 --- a/src/syscalls/mod.rs +++ b/src/syscalls/mod.rs @@ -34,7 +34,6 @@ mod condvar; mod entropy; mod futex; mod interfaces; -#[cfg(feature = "newlib")] mod processor; #[cfg(feature = "newlib")] mod recmutex;