Skip to content

Commit 19de3c6

Browse files
Abduqodiri Qurbonzodaqurbonzoda
authored andcommitted
Update the list of supported native targets
According to https://kotlinlang.org/docs/native-target-support.html
1 parent d152f66 commit 19de3c6

File tree

2 files changed

+27
-18
lines changed

2 files changed

+27
-18
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99

1010
Immutable collection interfaces and implementation prototypes for Kotlin.
1111

12-
This is a multiplatform library providing implementations for `jvm`, `js` (both Legacy and IR), `mingwX64`, `linuxX64` and Apple Kotlin/Native targets.
12+
This is a multiplatform library providing implementations for `jvm`, `js` (both Legacy and IR),
13+
and all [targets supported by the Kotlin/Native compiler](https://kotlinlang.org/docs/native-target-support.html).
1314

1415
For further details see the [proposal](proposal.md).
1516

core/build.gradle.kts

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,33 @@ mavenPublicationsPom {
1515

1616
kotlin {
1717
infra {
18+
// According to https://kotlinlang.org/docs/native-target-support.html
19+
20+
// Tier 1
1821
target("linuxX64")
19-
target("mingwX64")
22+
target("macosX64")
23+
target("macosArm64")
24+
target("iosSimulatorArm64")
25+
target("iosX64")
2026

21-
common("darwin") {
22-
target("macosX64")
23-
target("macosArm64")
24-
target("iosX64")
25-
target("iosArm64")
26-
target("iosArm32")
27-
target("iosSimulatorArm64")
28-
target("watchosArm32")
29-
target("watchosArm64")
30-
target("watchosX86")
31-
target("watchosX64")
32-
target("watchosSimulatorArm64")
33-
target("tvosArm64")
34-
target("tvosX64")
35-
target("tvosSimulatorArm64")
36-
}
27+
// Tier 2
28+
target("linuxArm64")
29+
target("watchosSimulatorArm64")
30+
target("watchosX64")
31+
target("watchosArm32")
32+
target("watchosArm64")
33+
target("tvosSimulatorArm64")
34+
target("tvosX64")
35+
target("tvosArm64")
36+
target("iosArm64")
37+
38+
// Tier 3
39+
target("androidNativeArm32")
40+
target("androidNativeArm64")
41+
target("androidNativeX86")
42+
target("androidNativeX64")
43+
target("mingwX64")
44+
target("watchosDeviceArm64")
3745
}
3846

3947
jvm {

0 commit comments

Comments
 (0)