File tree Expand file tree Collapse file tree 1 file changed +26
-9
lines changed
Expand file tree Collapse file tree 1 file changed +26
-9
lines changed Original file line number Diff line number Diff line change @@ -37,24 +37,41 @@ kotlin {
3737 explicitApi()
3838
3939 infra {
40+ // Tiers are in accordance with <https://kotlinlang.org/docs/native-target-support.html>
41+ // Tier 1
4042 target(" linuxX64" )
43+ // Tier 2
44+ target(" linuxArm64" )
45+ // Tier 3
4146 target(" mingwX64" )
42-
47+ // the following targets are not supported by kotlinx.serialization:
48+ /*
49+ target("androidNativeArm32")
50+ target("androidNativeArm64")
51+ target("androidNativeX86")
52+ target("androidNativeX64")
53+ */
54+ // Darwin targets are listed separately
4355 common(" darwin" ) {
56+ // Tier 1
4457 target(" macosX64" )
4558 target(" macosArm64" )
46- target(" iosX64" )
47- target(" iosArm64" )
48- target(" iosArm32" )
4959 target(" iosSimulatorArm64" )
60+ target(" iosX64" )
61+ // Tier 2
62+ target(" watchosSimulatorArm64" )
63+ target(" watchosX64" )
5064 target(" watchosArm32" )
5165 target(" watchosArm64" )
52- target(" watchosX86" )
53- target(" watchosX64" )
54- target(" watchosSimulatorArm64" )
55- target(" tvosArm64" )
56- target(" tvosX64" )
5766 target(" tvosSimulatorArm64" )
67+ target(" tvosX64" )
68+ target(" tvosArm64" )
69+ target(" iosArm64" )
70+ // Tier 3
71+ // target("watchosDeviceArm64") // not supported by kotlinx.serialization
72+ // Deprecated for removal
73+ target(" iosArm32" )
74+ target(" watchosX86" )
5875 }
5976 }
6077
You can’t perform that action at this time.
0 commit comments