Skip to content

Commit 4ab28b3

Browse files
authored
Deprecation of apple x64 target (#3091)
Kotlin is deprecating x64 family of apple targets, due to Apple also stopping the support for them. See KT-78660 for more details.
1 parent c0cac7c commit 4ab28b3

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

buildSrc/src/main/kotlin/native-targets-conventions.gradle.kts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,16 @@ kotlin {
1717

1818
// According to https://kotlinlang.org/docs/native-target-support.html
1919
// Tier 1
20-
macosX64()
2120
macosArm64()
2221
iosSimulatorArm64()
23-
iosX64()
2422

2523
// Tier 2
2624
linuxX64()
2725
linuxArm64()
2826
watchosSimulatorArm64()
29-
watchosX64()
3027
watchosArm32()
3128
watchosArm64()
3229
tvosSimulatorArm64()
33-
tvosX64()
3430
tvosArm64()
3531
iosArm64()
3632

@@ -49,6 +45,16 @@ kotlin {
4945
linuxArm32Hfp()
5046
}
5147

48+
// Deprecated
49+
@Suppress("DEPRECATION")
50+
macosX64()
51+
@Suppress("DEPRECATION")
52+
iosX64()
53+
@Suppress("DEPRECATION")
54+
watchosX64()
55+
@Suppress("DEPRECATION")
56+
tvosX64()
57+
5258
// setup tests running in RELEASE mode
5359
targets.withType<KotlinNativeTarget>().configureEach {
5460
binaries.test(listOf(NativeBuildType.RELEASE))

integration-test/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ kotlin {
4949
nodejs()
5050
}
5151
jvm()
52+
@Suppress("DEPRECATION")
5253
macosX64()
5354
macosArm64()
5455
linuxX64()

0 commit comments

Comments
 (0)