Are the internals of the Kotlin/Native compiler do...
# kotlin-native
m
Are the internals of the Kotlin/Native compiler documented anywhere? Specifically the .knt, .knb, .knf, .knd and .knm formats which are produced when running
-p library
.
I don't believe so, they're collections of IR structures directly serialized to disk
kotlinx.metadata should be able to load them, though: https://github.com/JetBrains/kotlin/tree/master/libraries/kotlinx-metadata
m
I was indeed looking for the IR structures on disk. I'll see if I can use kotlinx.metadata for this. Thank you!