Skip to content

Commit 9f277d6

Browse files
Change WASI native AOT exemptions to WASM (#138316)
1 parent e906660 commit 9f277d6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/tests/nativeaot/GenerateUnmanagedEntryPoints/GenerateUnmanagedEntryPoints.csproj‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<OutputType>Exe</OutputType>
44
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
55
<IlcExportUnmanagedEntrypoints>true</IlcExportUnmanagedEntrypoints>
6-
<!-- WASI does not support looking up exports from the main executable. -->
7-
<CLRTestTargetUnsupported Condition="'$(TargetsWasi)' == 'true'">true</CLRTestTargetUnsupported>
6+
<!-- WebAssembly does not support looking up exports from the main executable. -->
7+
<CLRTestTargetUnsupported Condition="'$(TargetsWasm)' == 'true'">true</CLRTestTargetUnsupported>
88
<!--
99
For some reason, this particular test hits some case in AddressSanitizer where it fails to intercept methods correctly, causing failures.
1010
Disable for now.

‎src/tests/nativeaot/SmokeTests/TrimmingBehaviors/Main.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
success &= RunTest(FeatureSwitches.Run);
1010
success &= RunTest(ILLinkDescriptor.Run);
1111
success &= RunTest(DependencyInjectionPattern.Run);
12-
if (!OperatingSystem.IsWasi())
12+
if (!OperatingSystem.IsWasi() && !OperatingSystem.IsBrowser())
1313
{
1414
success &= RunTest(UnmanagedCallersOnlyAssociatedSourceType.Run);
1515
}

0 commit comments

Comments
 (0)