Skip to content

Commit 2182473

Browse files
committed
[wasm] AOT BCL tests using -O1 to avoid OOM errors on CI.
Also enable WasmNativeStrip.
1 parent 88dd8c7 commit 2182473

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/testing/tests.wasm.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@
176176
<PropertyGroup>
177177
<_MainAssemblyPath Condition="'%(WasmAssembliesToBundle.FileName)' == $(AssemblyName) and '%(WasmAssembliesToBundle.Extension)' == '.dll'">%(WasmAssembliesToBundle.Identity)</_MainAssemblyPath>
178178
<RuntimeConfigFilePath>$([System.IO.Path]::ChangeExtension($(_MainAssemblyPath), '.runtimeconfig.json'))</RuntimeConfigFilePath>
179-
<EmccLinkOptimizationFlag Condition="'$(EmccLinkOptimizationFlag)' == ''">-Oz -Wl,-O0 -Wl,-lto-O0</EmccLinkOptimizationFlag>
179+
<EmccLinkOptimizationFlag Condition="'$(EmccLinkOptimizationFlag)' == ''">-O1 -Wl,-O0 -Wl,-lto-O0</EmccLinkOptimizationFlag>
180+
<WasmNativeStrip>true</WasmNativeStrip>
180181
</PropertyGroup>
181182

182183
<Error Text="Item WasmAssembliesToBundle is empty. This is likely an authoring error." Condition="@(WasmAssembliesToBundle->Count()) == 0" />

0 commit comments

Comments
 (0)