KMP-NativeCoroutines icon indicating copy to clipboard operation
KMP-NativeCoroutines copied to clipboard

Support Wasm target

Open rickclephas opened this issue 1 year ago • 4 comments

Waiting for kotlinx.coroutines support. Will add support for the Wasm target such that projects with a wasm target will compile.

rickclephas avatar Nov 06 '23 06:11 rickclephas

This would be an awesome holiday present. I have some free time and would love to do some wasm experiments. :-)

tylerwilson avatar Dec 18 '23 18:12 tylerwilson

FYI v1.0.0-ALPHA-23-kotlin-2.0.0-Beta2 adds support for projects with a wasmJs target.

rickclephas avatar Dec 20 '23 20:12 rickclephas

Very nice! Just curious, would this be usable with Kotlin 1.9.21 as well? Just curious because it seems like most of the other libraries like Compose only support 1.9.21 and wasmJs is working there too.

tylerwilson avatar Dec 20 '23 21:12 tylerwilson

@tylerwilson yeah it will eventually work with Kotlin 1.9.21 as well. Though since this requires kotlinx.coroutines 1.8.0-RC it's only available in the pre-release version. Once we get 1.8.0 I'll merge this to the stable version.

Note: Compose also has pre-release builds with support for EAP Kotlin versions.

rickclephas avatar Dec 20 '23 21:12 rickclephas

@tylerwilson yeah it will eventually work with Kotlin 1.9.21 as well. Though since this requires kotlinx.coroutines 1.8.0-RC it's only available in the pre-release version. Once we get 1.8.0 I'll merge this to the stable version.

Note: Compose also has pre-release builds with support for EAP Kotlin versions.

https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.8.0 🥳

GuilhE avatar Feb 16 '24 00:02 GuilhE