Skip to content

Commit 4ecf99c

Browse files
authored
Fix initial value of dynCalls (#22422)
This was a mistake from #22418. See #22418 (comment)
1 parent aefc36c commit 4ecf99c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1857,7 +1857,7 @@ addToLibrary({
18571857

18581858
#if DYNCALLS || !WASM_BIGINT
18591859
#if MINIMAL_RUNTIME
1860-
$dynCalls: '[]',
1860+
$dynCalls: '{}',
18611861
#endif
18621862
$dynCallLegacy__deps: [
18631863
#if MAIN_MODULE == 1

test/code_size/embind_hello_wasm.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"a.html": 552,
33
"a.html.gz": 380,
44
"a.js": 9961,
5-
"a.js.gz": 4352,
5+
"a.js.gz": 4350,
66
"a.wasm": 7820,
77
"a.wasm.gz": 3526,
88
"total": 18333,
9-
"total_gz": 8258
9+
"total_gz": 8256
1010
}

0 commit comments

Comments
 (0)