Is it possible to enable the endorsed libs in the ...
# multiplatform
j
Is it possible to enable the endorsed libs in the commonMain sourceset?
I tried adding the cli dependency to the commonMain and now I'm seeing
e: Compilation failed: findDeserializedDeclaration: symbol org.jetbrains.kotlin.ir.symbols.impl.IrSimpleFunctionSymbolImpl@3c108c05 is unbound, descriptor = public fun <T : kotlin.Any, TResult> kotlinx.cli.AbstractSingleArgu
e
Unfortunately, now you can't. Now endorsed libraries are only feature of Kotlin/Native compiler. JVM and JS backend haven't supported it yet.