Implement CInteropCommonizerTask to support commonization of user-defined cinterops

^KT-40975 Verification Pending
This commit is contained in:
sebastian.sellmair
2021-02-16 11:17:04 +01:00
committed by Space
parent 7cf8e9ec58
commit 6efd04edc0
15 changed files with 772 additions and 25 deletions

View File

@@ -13,7 +13,7 @@ import java.io.Serializable
// N.B. TargetPlatform/SimplePlatform are non exhaustive enough to address both target platforms such as
// JVM, JS and concrete Kotlin/Native targets, e.g. macos_x64, ios_x64, linux_x64.
public sealed class CommonizerTarget : Serializable {
final override fun toString(): String = identityString
final override fun toString(): String = prettyName
}
public data class LeafCommonizerTarget public constructor(val name: String) : CommonizerTarget() {