Skip to content

Commit

Permalink
Add HEAPU8 to the wasm module
Browse files Browse the repository at this point in the history
* Fixed with @pe-ro at ORD at 4.28 AM waiting for coffee
* Fixes 3687
  • Loading branch information
lpugin committed May 25, 2024
1 parent d64db41 commit aaceb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emscripten/buildToolkit
Original file line number Diff line number Diff line change
Expand Up @@ -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'\"" : "";

Expand Down

0 comments on commit aaceb38

Please sign in to comment.