Skip to content

Commit e942f33

Browse files
committed
[common/mem] remove legacy structs in common API
HostFunctionDefinitions and GuestErrorData were unused. Signed-off-by: danbugs <[email protected]>
1 parent dcf7f92 commit e942f33

File tree

1 file changed

+0
-12
lines changed
  • src/hyperlight_common/src

1 file changed

+0
-12
lines changed

src/hyperlight_common/src/mem.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,6 @@ pub const PAGE_SIZE_USIZE: usize = 1 << 12;
2222

2323
use core::ffi::{c_char, c_void};
2424

25-
#[repr(C)]
26-
pub struct HostFunctionDefinitions {
27-
pub fbHostFunctionDetailsSize: u64,
28-
pub fbHostFunctionDetails: *mut c_void,
29-
}
30-
31-
#[repr(C)]
32-
pub struct GuestErrorData {
33-
pub guestErrorSize: u64,
34-
pub guestErrorBuffer: *mut c_void,
35-
}
36-
3725
#[repr(u64)]
3826
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
3927
pub enum RunMode {

0 commit comments

Comments
 (0)