We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea9b8fe commit a9d377aCopy full SHA for a9d377a
1 file changed
src/wasm_runtime/src/platform.rs
@@ -58,8 +58,7 @@ pub extern "C" fn wasmtime_mprotect(_ptr: *mut u8, _size: usize, prot_flags: u32
58
59
#[no_mangle]
60
pub extern "C" fn wasmtime_page_size() -> usize {
61
- todo!("fixme: missing hyperlight_guest_bin::OS_PAGE_SIZE")
62
- //unsafe { hyperlight_guest_bin::OS_PAGE_SIZE as usize }
+ unsafe { hyperlight_guest_bin::OS_PAGE_SIZE as usize }
63
}
64
65
#[allow(non_camel_case_types)] // we didn't choose the name!
0 commit comments