Skip to content

Commit 4580253

Browse files
authored
[wasi] Disable build in .NET 10 (#117936)
1 parent 0fd7ca0 commit 4580253

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

eng/pipelines/runtime.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -900,13 +900,13 @@ extends:
900900

901901
# WASI/WASM
902902

903-
- template: /eng/pipelines/common/templates/simple-wasm-build-tests.yml
904-
parameters:
905-
platforms:
906-
- wasi_wasm
907-
- wasi_wasm_win
908-
extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)
909-
alwaysRun: ${{ variables.isRollingBuild }}
903+
# - template: /eng/pipelines/common/templates/simple-wasm-build-tests.yml
904+
# parameters:
905+
# platforms:
906+
# - wasi_wasm
907+
# - wasi_wasm_win
908+
# extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)
909+
# alwaysRun: ${{ variables.isRollingBuild }}
910910

911911
#
912912
# Android devices
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
Wasi.Build.Tests.InvariantTests
2-
Wasi.Build.Tests.ILStripTests
3-
Wasi.Build.Tests.SdkMissingTests
4-
Wasi.Build.Tests.RuntimeConfigTests
5-
Wasi.Build.Tests.WasiTemplateTests
6-
Wasi.Build.Tests.PInvokeTableGeneratorTests
7-
Wasi.Build.Tests.WasiLibraryModeTests
1+

src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.Wasi.targets.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@
1010
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
1111
<UsingWasiRuntimeWorkload Condition="'$(UsingWasiRuntimeWorkload)' == ''">$(WasiNativeWorkloadAvailable)</UsingWasiRuntimeWorkload>
1212
</PropertyGroup>
13+
14+
<Target Name="FailBuild" BeforeTargets="ProcessFrameworkReferences;Restore;Build;Publish" Condition="'$(RuntimeIdentifier)' == 'wasi-wasm'">
15+
<Error Text="The 'wasi-experimental' workload is not supported in .NET 10." />
16+
</Target>
1317
</Project>

0 commit comments

Comments
 (0)