fix: drop deprecated macosX64 target, keep only macosArm64

macosX64 (Intel) has been removed from Kotlin's native target tiers.
Only macosArm64 (Apple Silicon) is supported.

https://claude.ai/code/session_01WSNE6QKiYM2ZutQD2UihCW
This commit is contained in:
Claude
2026-04-09 23:29:47 +00:00
parent 09001bbe98
commit ce199f42df
3 changed files with 1 additions and 14 deletions
+1 -4
View File
@@ -90,10 +90,7 @@ case "$OS_NAME" in
KN_TARGET="linuxX64Test"
;;
Darwin)
case "$ARCH" in
arm64) KN_TARGET="macosArm64Test" ;;
*) KN_TARGET="macosX64Test" ;;
esac
KN_TARGET="macosArm64Test"
;;
esac
-9
View File
@@ -87,7 +87,6 @@ kotlin {
linuxX64()
macosX64()
macosArm64()
// This makes sure that the resource file directory is visible for iOS tests.
@@ -310,14 +309,6 @@ kotlin {
dependsOn(appleTest)
}
val macosX64Main by getting {
dependsOn(macosMain)
}
val macosX64Test by getting {
dependsOn(macosTest)
}
val macosArm64Main by getting {
dependsOn(macosMain)
}
@@ -46,7 +46,6 @@ import kotlin.time.TimeSource
* Run with:
* ./gradlew :quartz:linuxX64Test --tests "*.Secp256k1NativeBenchmark"
* ./gradlew :quartz:macosArm64Test --tests "*.Secp256k1NativeBenchmark"
* ./gradlew :quartz:macosX64Test --tests "*.Secp256k1NativeBenchmark"
*
* IMPORTANT: Requires -opt in the compiler options for meaningful results.
* Without it, K/N compiles in debug mode (~12x slower). See build.gradle.kts.