From aaceb38256724d8e26c3724f93bcc34cd5562fd5 Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Sat, 25 May 2024 04:29:26 -0500 Subject: [PATCH] Add HEAPU8 to the wasm module * Fixed with @pe-ro at ORD at 4.28 AM waiting for coffee * Fixes 3687 --- emscripten/buildToolkit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emscripten/buildToolkit b/emscripten/buildToolkit index afde9dd2b76..7c9262bc169 100755 --- a/emscripten/buildToolkit +++ b/emscripten/buildToolkit @@ -230,7 +230,7 @@ $exports .= "'_malloc',"; $exports .= "'_free'"; $exports .= "]\""; -my $extra_exports = "-s EXPORTED_RUNTIME_METHODS='[\"cwrap\"]'"; +my $extra_exports = "-s EXPORTED_RUNTIME_METHODS='[\"cwrap\", \"HEAPU8\"]'"; my $modularize = $modularizeQ ? "-s MODULARIZE=1 -s EXPORT_ES6=1 -s EXPORT_NAME=\"'createVerovioModule'\"" : "";