build: bump emscripten to 4.0.12

This commit is contained in:
Amaan Qureshi 2025-09-03 02:46:11 -04:00 committed by Amaan Qureshi
parent 6cb9486b28
commit 3b0273fc61
3 changed files with 4 additions and 2 deletions

View file

@ -1 +1 @@
4.0.8
4.0.12

View file

@ -27,7 +27,7 @@ enum EmccSource {
Podman,
}
const EXPORTED_RUNTIME_METHODS: [&str; 19] = [
const EXPORTED_RUNTIME_METHODS: [&str; 20] = [
"AsciiToString",
"stringToUTF8",
"UTF8ToString",
@ -47,6 +47,7 @@ const EXPORTED_RUNTIME_METHODS: [&str; 19] = [
"HEAPU32",
"HEAP64",
"HEAPU64",
"LE_HEAP_STORE_I64",
];
pub fn run_wasm(args: &BuildWasm) -> Result<()> {

View file

@ -46,6 +46,7 @@ declare namespace RuntimeExports {
let HEAPU32: Uint32Array;
let HEAP64: BigInt64Array;
let HEAPU64: BigUint64Array;
function LE_HEAP_STORE_I64(byteOffset: any, value: any): any;
}
interface WasmModule {
_malloc(_0: number): number;