Skip to content

Commit 1c0d887

Browse files
committed
fixup! amd64: add exception stack at top of scratch memory
Minor nit: remove useless cast Signed-off-by: Lucy Menon <168595099+syntactically@users.noreply.github.com>
1 parent 580c451 commit 1c0d887

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hyperlight_guest/src/arch/amd64/prim_alloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub unsafe fn alloc_phys_pages(n: u64) -> u64 {
4040
unsafe {
4141
crate::exit::abort_with_code_and_message(
4242
&[ErrorCode::MallocFailed as u8],
43-
c"Out of physical memory".as_ptr() as *const core::ffi::c_char,
43+
c"Out of physical memory".as_ptr(),
4444
)
4545
}
4646
}

0 commit comments

Comments
 (0)