From bf9addb92ca1b8d0ca0ddb39d899e9f5329a8387 Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Wed, 14 Jan 2026 18:06:37 -0700 Subject: [PATCH] fix mac builds --- core/src/lxc/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/src/lxc/mod.rs b/core/src/lxc/mod.rs index eec931215..bdca44ebe 100644 --- a/core/src/lxc/mod.rs +++ b/core/src/lxc/mod.rs @@ -291,6 +291,12 @@ impl LxcContainer { Ok(res) } + #[cfg(not(target_os = "linux"))] + async fn handle_devices(&self, _: ReadDir, _: &[&str]) -> Result<(), Error> { + Ok(()) + } + + #[cfg(target_os = "linux")] fn handle_devices<'a>( &'a self, mut dir: ReadDir,