https://kotlinlang.org logo
#coroutines
Title
# coroutines
a

andylamax

08/04/2021, 1:16 AM
Are there any technical limitations that makes the coroutines library not to target linuxArm64, linuxArm32Hfp, and mipsel targets? If there aren't, Why doesn't the library target those platforms? If there are, What are the limitations?
e

ephemient

08/04/2021, 1:29 AM
kotiinx.coroutines depends on kotlinx.atomicfu, and over there I found https://github.com/Kotlin/kotlinx.atomicfu/issues/142#issuecomment-644603946:
Currently, we lack the infrastructure to test
linuxArm32
targets. However, our long-term plan is to completely revamp the distribution model so that we don't have to build binaries for each target in the first place.
a

andylamax

08/04/2021, 3:08 AM
Oooh, I see. that is great news though. Building binaries for all platforms is a bit tedious
t

Tijl

08/04/2021, 6:28 AM
there are PRs for atomicfu https://github.com/Kotlin/kotlinx.atomicfu/pull/193 and coroutines https://github.com/Kotlin/kotlinx.coroutines/pull/2841 that you could use to build versions with ARM support. not sure these will accepted soon since they do not add CI support.. but that would require active cooperation from Jetbrains to set up.
a

andylamax

08/05/2021, 1:27 PM
Thanks much @Tijl
5 Views