mirror of
https://github.com/trussed-dev/trussed-staging.git
synced 2026-06-20 04:16:23 -07:00
Fix compilation with virt and no-default-features
This commit is contained in:
@@ -246,6 +246,7 @@ where
|
||||
with_client(Ram::default(), client_id, f)
|
||||
}
|
||||
|
||||
#[cfg(feature = "manage")]
|
||||
pub fn with_ram_client_and_preserve<R, F>(
|
||||
client_id: &str,
|
||||
should_preserve_file: fn(&Path, location: Location) -> bool,
|
||||
@@ -257,6 +258,7 @@ where
|
||||
with_client_and_preserve(Ram::default(), client_id, f, should_preserve_file)
|
||||
}
|
||||
|
||||
#[cfg(feature = "manage")]
|
||||
pub fn with_ram_clients_and_preserve<R, F, const N: usize>(
|
||||
client_ids: [&str; N],
|
||||
should_preserve_file: fn(&Path, location: Location) -> bool,
|
||||
|
||||
Reference in New Issue
Block a user