Skip to content

Commit e96c792

Browse files
committed
gh-153313: Workaround for string decoding regression in emcc 6.0.2
Upstream issue: emscripten-core/emscripten#27241
1 parent 357c650 commit e96c792

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

configure

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,6 +2410,8 @@ AS_CASE([$ac_sys_system],
24102410
AS_VAR_APPEND([LINKFORSHARED], [" -sSTACK_SIZE=5MB"])
24112411
dnl Avoid bugs in JS fallback string decoding path
24122412
AS_VAR_APPEND([LINKFORSHARED], [" -sTEXTDECODER=2"])
2413+
dnl workaround for emscripten#27241, can remove when we update to emscripten 6.0.3
2414+
AS_VAR_APPEND([LINKFORSHARED], [" -sGROWABLE_ARRAYBUFFERS=0"])
24132415
24142416
AS_VAR_IF([enable_wasm_dynamic_linking], [yes], [
24152417
AS_VAR_APPEND([LINKFORSHARED], [" -sMAIN_MODULE"])

0 commit comments

Comments
 (0)