Skip to content

Commit 36e9985

Browse files
Disable MemoryDiagnoserSupportsNativeAOT on osx-arm64
1 parent 00f6936 commit 36e9985

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using BenchmarkDotNet.Columns;
1010
using BenchmarkDotNet.Configs;
1111
using BenchmarkDotNet.Diagnosers;
12+
using BenchmarkDotNet.Environments;
1213
using BenchmarkDotNet.Extensions;
1314
using BenchmarkDotNet.IntegrationTests.Xunit;
1415
using BenchmarkDotNet.Jobs;
@@ -69,6 +70,8 @@ public void MemoryDiagnoserSupportsNativeAOT()
6970
{
7071
if (ContinuousIntegration.IsAppVeyorOnWindows()) // too time consuming for AppVeyor (1h limit)
7172
return;
73+
if (RuntimeInformation.GetCurrentPlatform() == Platform.Arm64 && RuntimeInformation.IsMacOSX())
74+
return; // Native compilation does not support targeting osx-arm64 yet. https://github.com/dotnet/corert/issues/4589
7275

7376
MemoryDiagnoserIsAccurate(
7477
NativeAotToolchain.CreateBuilder()

0 commit comments

Comments
 (0)