[JS_IR] Use new plugin to build Kotlin/JS stdlib with IR compiler
- Switch to building stdlib with bootstrap compiler since IR is stable enough - Build stdlib with coreLibs by default - Include JS IR stdlib to kotlin distribution
This commit is contained in:
@@ -21,8 +21,7 @@ testsJar {}
|
||||
|
||||
projectTest(parallel = true) {
|
||||
dependsOn(":dist")
|
||||
dependsOn(":kotlin-stdlib-js-ir:generateFullRuntimeKLib")
|
||||
|
||||
dependsOn(":kotlin-stdlib-js-ir:compileKotlinJs")
|
||||
workingDir = rootDir
|
||||
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))
|
||||
}
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ abstract class AbstractCompileKotlinAgainstKlibTest : AbstractBlackBoxCodegenTes
|
||||
listOf(
|
||||
"-output", klibName,
|
||||
"-Xir-produce-klib-file",
|
||||
"-libraries", "libraries/stdlib/js-ir/build/fullRuntime/klib/"
|
||||
"-libraries", "libraries/stdlib/js-ir/build/classes/kotlin/js/main/"
|
||||
) + sourceFiles
|
||||
)
|
||||
if (exitCode != ExitCode.OK) {
|
||||
|
||||
Reference in New Issue
Block a user