Is there a way, via gradle configuration or a comp...
# compiler
r
Is there a way, via gradle configuration or a compiler plugin, to get the compiler to generate a klib for JVM? I want to use the IR after compilation (creating bindings for a compiler plugin to use), and while I could use a plugin to write those bindings to an external file, if I can just use the klib I won't have to worry about incremental compilation.
d
No. IR serialization for JVM in a prototype stage https://kotlinlang.slack.com/archives/C7L3JB43G/p1620503353158100
r
Right, duh, I knew about that thread. Oops.
u
To clarify, we have no plans for producing klib on JVM at this moment. We have a prototype for consuming klibs (which is necessary for multiplatform use cases), and a prototype for serializing/deserializing IR just for inline functions. But we are not working on producing klibs in Kotlin/JVM.