From 814063ec232ad500e248c6d65b06736dd44a6175 Mon Sep 17 00:00:00 2001 From: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com> Date: Wed, 23 Jul 2025 14:15:54 -0700 Subject: [PATCH] Make MultiUseSandbox::map_file_cow public Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com> --- src/hyperlight_host/src/sandbox/initialized_multi_use.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperlight_host/src/sandbox/initialized_multi_use.rs b/src/hyperlight_host/src/sandbox/initialized_multi_use.rs index e1d805d41..91722457b 100644 --- a/src/hyperlight_host/src/sandbox/initialized_multi_use.rs +++ b/src/hyperlight_host/src/sandbox/initialized_multi_use.rs @@ -164,7 +164,7 @@ impl MultiUseSandbox { /// Returns the length of the mapping #[allow(dead_code)] #[instrument(err(Debug), skip(self, _fp, _guest_base), parent = Span::current())] - pub(crate) fn map_file_cow(&mut self, _fp: &Path, _guest_base: u64) -> Result { + pub fn map_file_cow(&mut self, _fp: &Path, _guest_base: u64) -> Result { #[cfg(windows)] log_then_return!("mmap'ing a file into the guest is not yet supported on Windows"); #[cfg(unix)]