Is the 1.7.0 will have a `*-native-mt` version ? ...
# coroutines
r
Is the 1.7.0 will have a
*-native-mt
version ? And after upgrading from
1.6.4-native-mt
to
1.7.0
. I got :
Copy code
Compilation failed: Internal compiler error: no implementation found for FUN DEFAULT_PROPERTY_ACCESSOR name:<get-parent> visibility:public modality:ABSTRACT <> ($this:kotlinx.coroutines.Job) returnType:kotlinx.coroutines.Job?
when building itable for CLASS INTERFACE name:Job modality:ABSTRACT visibility:public superTypes:[kotlin.coroutines.CoroutineContext.Element]
implementation in CLASS CLASS name:ChannelJob modality:FINAL visibility:private superTypes:[io.ktor.utils.io.ReaderJob; io.ktor.utils.io.WriterJob; kotlinx.coroutines.Job]
at /opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/Coroutines.kt (156:1)
CLASS CLASS name:ChannelJob modality:FINAL visibility:private superTypes:[io.ktor.utils.io.ReaderJob; io.ktor.utils.io.WriterJob; kotlinx.coroutines.Job]

 * Source files: 
 * Compiler version info: Konan: 1.8.20 / Kotlin: 1.8.20
 * Output kind: FRAMEWORK
h
No
e
also the website is out of date :( https://youtrack.jetbrains.com/issue/KT-55498
r
Okay, so no more
-native-mt
everything is merged ?
e
only the new memory model is supported
m
-native-mt
was multithread support for the old memory model. With 1.7 you must use the new memory model and it supports multiple threads on native platforms.
r
Ok, thanks!
d
Note that this issue unfortunately prevents the adoption of Coroutines 1.7 in projects using Ktor on Native targets, at present. This PR stands to correct the issue but needs to be merged and released; hopefully someone from the Ktor team is able to prioritise it theres a lot to like in the new Coroutines version including official K/N IO Dispatcher support.