Skip to content

Commit

Permalink
fix: Initialize threaded runtime properly in AotInterp mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ebariche committed Sep 12, 2023
1 parent bc19c97 commit 9bb4ce0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Uno.Wasm.Packager/packager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1195,11 +1195,9 @@ int Run (string[] args) {
if (enable_threads)
{
emcc_link_flags.Add("-s USE_PTHREADS=1");
emcc_link_flags.Add("-s PTHREAD_POOL_SIZE=2");
emcc_link_flags.Add("-Wno-pthreads-mem-growth");

emcc_flags += "-s USE_PTHREADS=1 ";
emcc_flags += "-s PTHREAD_POOL_SIZE=2 ";
emcc_flags += "-Wno-pthreads-mem-growth ";

aot_compiler_options += " --wasm-gc-safepoints ";
Expand Down

0 comments on commit 9bb4ce0

Please sign in to comment.