Skip to content

Commit 560b017

Browse files
osa1Commit Queue
authored andcommitted
[dart2wasm] Pass --enable-threads to wasm-opt
With --import-shared-memory we import a memory, which requires --enable-threads flag to be passed to wasm-opt. Change-Id: I25198344f8c918cec28b2b22262e2b9d70a137ea Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/436923 Reviewed-by: Alexander Markov <[email protected]> Commit-Queue: Ömer Ağacan <[email protected]>
1 parent 0aa01cf commit 560b017

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/dartdev/lib/src/commands/compile.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ class CompileWasmCommand extends CompileSubcommandCommand {
748748
--enable-nontrapping-float-to-int
749749
--enable-sign-ext
750750
--enable-bulk-memory
751+
--enable-threads
751752
752753
--closed-world
753754
--traps-never-happen

0 commit comments

Comments
 (0)