JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.28k stars 1.18k forks source link

Add linuxArm64 and watchosDeviceArm64 targets to runtime #3344

Closed gabrielittner closed 1 month ago

gabrielittner commented 1 year ago

linuxArm64 was added before but reverted because of missing coroutines support: https://github.com/JetBrains/compose-multiplatform-core/pull/382 Coroutines 1.7.x added support for these targets.

I'd submit a pr for adding these targets but jb-main is still using coroutines 1.6.x and I'm not sure how your process is for pulling changes from androidx-main works.

gabrielittner commented 1 year ago

The androidNative* targets also are supported by coroutines now but not sure how much sense it makes to add these to the compose runtime.

pjBooms commented 1 year ago

Hello. Unfortunately we have to wait til Compose starts using Coroutines 1.7. As we see Jetpack Compose uses Coroutines 1.7 only in Compose 1.6 so the most probably Compose Multiplatform will start using Coroutines 1.7 in Compose 1.6 as well (and it won't happen in the near months).

gabrielittner commented 1 year ago

Thanks for the update

gabrielittner commented 11 months ago

https://github.com/JetBrains/compose-multiplatform-core/blob/jb-main/gradle/libs.versions.toml#L45 It looks like the main branch is now on couroutines 1.8.0-RC so the blocked should be gone. Maybe runtime could even get the new wasm target?

hfhbd commented 11 months ago

The runtime already has wasmJS support since 1.6.0-alpha01.

gabrielittner commented 11 months ago

Ah nice, I somehow missed that, then it's just the 2 targets from the original request

okushnikov commented 2 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.