fix mac builds

This commit is contained in:
Aiden McClelland
2026-01-14 18:06:37 -07:00
parent ffa801ff6d
commit bf9addb92c

View File

@@ -291,6 +291,12 @@ impl LxcContainer {
Ok(res) 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>( fn handle_devices<'a>(
&'a self, &'a self,
mut dir: ReadDir, mut dir: ReadDir,