Skip to content

Commit

Permalink
Fix initial value of dynCalls (#22422)
Browse files Browse the repository at this point in the history
This was a mistake from #22418.

See
#22418 (comment)
  • Loading branch information
sbc100 authored Aug 21, 2024
1 parent aefc36c commit 4ecf99c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/library.js
Original file line number Diff line number Diff line change
Expand Up @@ -1857,7 +1857,7 @@ addToLibrary({

#if DYNCALLS || !WASM_BIGINT
#if MINIMAL_RUNTIME
$dynCalls: '[]',
$dynCalls: '{}',
#endif
$dynCallLegacy__deps: [
#if MAIN_MODULE == 1
Expand Down
4 changes: 2 additions & 2 deletions test/code_size/embind_hello_wasm.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"a.html": 552,
"a.html.gz": 380,
"a.js": 9961,
"a.js.gz": 4352,
"a.js.gz": 4350,
"a.wasm": 7820,
"a.wasm.gz": 3526,
"total": 18333,
"total_gz": 8258
"total_gz": 8256
}

0 comments on commit 4ecf99c

Please sign in to comment.