I’m testing whether my compiler plugin compiled wi...
# compiler
d
I’m testing whether my compiler plugin compiled with 2.1.0 previews will be compatible with consuming projects still using 2.0.x. I’m not using any compiler APIs that broke, but I’m getting this error in the consuming project:
Copy code
> Task :mpp:transformCommonMainDependenciesMetadata
e: KLIB resolver: Could not find "/home/runner/work/Poko/Poko/sample/mpp/build/kotlinTransformedMetadataLibraries/commonMain/org.jetbrains.kotlin-kotlin-stdlib-2.1.0-RC2-commonMain-ITmP6A.klib" in [/home/runner/.local/share/kotlin/daemon]

> Task :mpp:compileCommonMainKotlinMetadata FAILED
w: KLIB resolver: Skipping '/home/runner/work/Poko/Poko/sample/mpp/build/kotlinTransformedMetadataLibraries/commonMain/org.jetbrains.kotlin-kotlin-stdlib-2.1.0-RC2-commonMain-ITmP6A.klib'. Incompatible ABI version. The current default is '1.8.0', found '1.201.0'. The library was produced by '2.1.0-dev-7621' compiler.
Does the klib format have some breaking change in Kotlin 2.1 that makes this inherently incompatible? Full stacktrace here.
316 Views