Skip to content

Commit b2611ca

Browse files
committed
fixup! Don't use shared_mem.as_mut_slice() since it doesn't dirty touched pages in the host
1 parent 2623df1 commit b2611ca

File tree

1 file changed

+1
-2
lines changed
  • src/hyperlight_host/src/mem

1 file changed

+1
-2
lines changed

src/hyperlight_host/src/mem/elf.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ use goblin::elf32::program_header::PT_LOAD;
2424
#[cfg(feature = "init-paging")]
2525
use goblin::elf64::program_header::PT_LOAD;
2626

27-
use crate::{Result, log_then_return, new_error};
28-
2927
use super::shared_mem::ExclusiveSharedMemory;
28+
use crate::{Result, log_then_return, new_error};
3029

3130
pub(crate) struct ElfInfo {
3231
payload: Vec<u8>,

0 commit comments

Comments
 (0)