rules_kotlin icon indicating copy to clipboard operation
rules_kotlin copied to clipboard

-Xbackend-threads compatibility with Kotlin ABI compiler

Open Bencodes opened this issue 3 years ago • 1 comments

The Kotlin ABI compiler is not fully compatible with the -Xbackend-threads compiler flag and should be avoided until Jetbrains can fix the underlying issue.

Jetbrains issue tracker: https://youtrack.jetbrains.com/issue/KT-52824/jvm-abi-gen-plugin-fails-with-Xbackend-threads Related conversations: can be found here https://github.com/bazelbuild/rules_kotlin/pull/773

Bencodes avatar Jun 29 '22 18:06 Bencodes

FYI @Bencodes they (Jetbrains) claim to have fixed this in Kotlin 2.0.0-Beta5: https://youtrack.jetbrains.com/issue/KT-52824/JVM-IR-jvm-abi-gen-plugin-fails-with-Xbackend-threads#focus=Comments-27-9062884.0-0

cc: @Tagakov

I am no longer in a position to test if this works, but maybe you can give it a try again @Bencodes?

rockwotj avatar Feb 08 '24 22:02 rockwotj