[monotouch-test] Fix BlocksTest to work on maccatalyst-arm64. (#18708)

We use the AOT compiler on ARM64 on Mac Catalyst, so these tests have to
be excluded on Mac Catalyst.
This commit is contained in:
Rolf Bjarne Kvinge 2023-08-14 12:05:03 +02:00 коммит произвёл GitHub
Родитель 72a7f88b94
Коммит cb1ffa0da7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -72,7 +72,7 @@ namespace MonoTouchFixtures.ObjCRuntime {
}
}
#if !DEVICE && !MONOMAC && !AOT // some of these tests cause the AOT compiler to assert
#if !DEVICE && !MONOMAC && !AOT && !__MACCATALYST__ // some of these tests cause the AOT compiler to assert
// No MonoPInvokeCallback
static void InvalidTrampoline1 () { }