diff --git a/src/hyperlight_host/src/sandbox/config.rs b/src/hyperlight_host/src/sandbox/config.rs index b1391c084..dad3420bb 100644 --- a/src/hyperlight_host/src/sandbox/config.rs +++ b/src/hyperlight_host/src/sandbox/config.rs @@ -175,11 +175,13 @@ impl SandboxConfiguration { } /// Sets the interrupt retry delay + #[cfg(target_os = "linux")] pub fn set_interrupt_retry_delay(&mut self, delay: Duration) { self.interrupt_retry_delay = delay; } /// Get the delay between retries for interrupts + #[cfg(target_os = "linux")] pub fn get_interrupt_retry_delay(&self) -> Duration { self.interrupt_retry_delay }