Skip to content

Commit 172fcfa

Browse files
authored
Make MultiUseSandbox::map_file_cow public (#725)
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent 26a8954 commit 172fcfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hyperlight_host/src/sandbox/initialized_multi_use.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ impl MultiUseSandbox {
164164
/// Returns the length of the mapping
165165
#[allow(dead_code)]
166166
#[instrument(err(Debug), skip(self, _fp, _guest_base), parent = Span::current())]
167-
pub(crate) fn map_file_cow(&mut self, _fp: &Path, _guest_base: u64) -> Result<u64> {
167+
pub fn map_file_cow(&mut self, _fp: &Path, _guest_base: u64) -> Result<u64> {
168168
#[cfg(windows)]
169169
log_then_return!("mmap'ing a file into the guest is not yet supported on Windows");
170170
#[cfg(unix)]

0 commit comments

Comments
 (0)