Skip to content

Commit 3593c41

Browse files
committed
Workaround wasm-opt crash
1 parent d7b1d52 commit 3593c41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mono/wasm/build/WasmApp.Common.targets

+3
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,9 @@
499499

500500
<!-- WasmOptConfigurationFlags property is set by reading from wasm-props.json -->
501501
<WasmOptConfigurationFlags Include="@(_DefaulWasmOptConfigurationFlags)" />
502+
503+
<!-- fixme: https://github.com/WebAssembly/binaryen/issues/6639 -->
504+
<WasmOptConfigurationFlags Include="-O1" Condition="!$([MSBuild]::IsOSPlatform('windows'))" />
502505
</ItemGroup>
503506
</Target>
504507

0 commit comments

Comments
 (0)