Add CompilerOutputKind.DYNAMIC_CACHE and .STATIC_CACHE (#3352)
(cherry picked from commit a1e26bdf62fd0b31425f46aac0e7bc01bc2e88af)
This commit is contained in:
committed by
Vasily Levchenko
parent
90a7019cd0
commit
f18994c6d9
+2
@@ -22,6 +22,7 @@ import org.jetbrains.kotlin.konan.target.Family
|
||||
val CompilerOutputKind.isFinalBinary: Boolean get() = when (this) {
|
||||
CompilerOutputKind.PROGRAM, CompilerOutputKind.DYNAMIC,
|
||||
CompilerOutputKind.STATIC, CompilerOutputKind.FRAMEWORK -> true
|
||||
CompilerOutputKind.DYNAMIC_CACHE, CompilerOutputKind.STATIC_CACHE,
|
||||
CompilerOutputKind.LIBRARY, CompilerOutputKind.BITCODE -> false
|
||||
}
|
||||
|
||||
@@ -34,6 +35,7 @@ internal val Context.producedLlvmModuleContainsStdlib: Boolean
|
||||
val CompilerOutputKind.involvesLinkStage: Boolean
|
||||
get() = when (this) {
|
||||
CompilerOutputKind.PROGRAM, CompilerOutputKind.DYNAMIC,
|
||||
CompilerOutputKind.DYNAMIC_CACHE, CompilerOutputKind.STATIC_CACHE,
|
||||
CompilerOutputKind.STATIC, CompilerOutputKind.FRAMEWORK -> true
|
||||
CompilerOutputKind.LIBRARY, CompilerOutputKind.BITCODE -> false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user