Skip to content

Commit e3a5ccd

Browse files
committed
fixup! tmp 2
1 parent 354ac3a commit e3a5ccd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hyperlight_guest/src/entrypoint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pub extern "win64" fn entrypoint(peb_address: u64, seed: u64, max_log_level: u64
135135
_ => panic!("Invalid runmode in PEB"),
136136
}
137137

138-
panic(
138+
panic!("ok");
139139

140140
hyperlight_main();
141141
});

src/hyperlight_guest/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub(crate) static _fltused: i32 = 0;
6565
#[allow(clippy::panic)]
6666
// to satisfy the clippy when cfg == test
6767
#[allow(dead_code)]
68-
pub fn panic(info: &core::panic::PanicInfo) -> ! {
68+
fn panic(info: &core::panic::PanicInfo) -> ! {
6969
loop {}
7070
unsafe {
7171
copy_nonoverlapping(

0 commit comments

Comments
 (0)