mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix mac builds
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user