[K2] Document KMP implementation in the K2 Compiler
Add comprehensive documentation explaining the implementation and functions of the Kotlin multiplatform (KMP) support in the K2 Compiler.
This commit is contained in:
committed by
Space Team
parent
04c0cc5a5c
commit
024e94a479
@@ -37,6 +37,14 @@ import org.jetbrains.kotlin.metadata.jvm.deserialization.JvmProtoBufUtil
|
||||
import org.jetbrains.kotlin.utils.KotlinPaths
|
||||
import java.io.File
|
||||
|
||||
/**
|
||||
* This class is the entry-point for compiling Kotlin code into a metadata KLib.
|
||||
*
|
||||
* **Note: `2` in the name stands for Kotlin `TO` metadata compiler.
|
||||
* This entry-point used by both K1 and K2.**
|
||||
*
|
||||
* Please see `/docs/fir/k2_kmp.md` for more info on the K2/FIR implementation.
|
||||
*/
|
||||
class K2MetadataCompiler : CLICompiler<K2MetadataCompilerArguments>() {
|
||||
|
||||
override val defaultPerformanceManager: CommonCompilerPerformanceManager = K2MetadataCompilerPerformanceManager()
|
||||
|
||||
Reference in New Issue
Block a user