Function mozjs_sys::jsapi::JS::DisableWasmHugeMemory

source ·
pub unsafe extern "C" fn DisableWasmHugeMemory() -> bool
Expand description

Attempt to disable Wasm’s usage of reserving a large virtual memory allocation to avoid bounds checking overhead. This must be called before any Wasm module or memory is created in this process, or else this function will fail.