[KT-84822] Replace minimal stdlib srcs for real src and remove -Xcompile-builtins-as-part-of-stdlib #5894
Conversation
Code Owners
|
| substrateStdlibCompilerDependencies(commonDependency("org.codehaus.woodstox:stax2-api")) | ||
| substrateStdlibCompilerDependencies(commonDependency("com.fasterxml:aalto-xml")) | ||
|
|
||
| // 2. Dependencies to COMPILE the minimal stdlib KLIB |
There was a problem hiding this comment.
Moved from the second block of dependencies
| isCanBeResolved = true | ||
| } | ||
|
|
||
| val klibCompileClasspath by configurations.creating { |
There was a problem hiding this comment.
Moved from below as dependencies will now stay in a single block
f194d1a to
7124432
Compare
|
|
||
| val jvmSourceFiles = jvmFiles.map { it.absolutePath } | ||
| val commonSourceFiles = commonFiles.map { it.absolutePath } | ||
| val (commonSourceFiles, jvmSourceFiles) = allFiles |
There was a problem hiding this comment.
Style improvement
| "-opt-in=kotlin.contracts.ExperimentalContracts", | ||
| "-opt-in=kotlin.ExperimentalMultiplatform", | ||
| "-opt-in=kotlin.contracts.ExperimentalExtendedContracts", | ||
| "-Xcompile-builtins-as-part-of-stdlib", |
There was a problem hiding this comment.
This flag is no longer used see
https://youtrack.jetbrains.com/issue/KT-80839
d0f108a to
02a5975
Compare
| .map { it.absolutePath } | ||
| .joinToString(File.pathSeparator) | ||
|
|
||
| val fullClasspath = klibCompileClasspath.asPath |
There was a problem hiding this comment.
Simplified with equivalent logic
2768c3f to
72fd807
Compare
72fd807 to
19a9a0b
Compare
87d64ea to
d372e83
Compare
….kts and compiler arguments
d372e83 to
34a9509
Compare
|
/safe-merge |
|
Quality gate is triggered at https://buildserver.labs.intellij.net/build/939172596 — use this link to get full insight. Quality gate was triggered with the following revisions:
|
|
Triggered a retry attempt №1 out of 1. |
|
Quality gate finished successfully (recovered via retry). |
This PR unifies the Jklib and JVM minimal stdlib by replacing local stubs with production source files from the core
stdlibandjvm-minimal-for-test.Minimizes redundant, local stubs in favor of real production code or code from jvm-minimal-for-test
Summary of Deletions & Replacements
expect/actualfromstdlib.expectfromjvm-minimalandactualfromstdlib.minimalCollections.ktCollections.ktinterfaces.JavaStubs/TypeIntrinsicsAdditional Changes: