Workaround for KT-43517.
This commit is contained in:
committed by
Stanislav Erokhin
parent
12723fb009
commit
66de5dceb9
+3
-1
@@ -101,7 +101,9 @@ internal class KonanIrLinker(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (klib is KotlinLibrary && klib.isInteropLibrary()) {
|
if (klib is KotlinLibrary && klib.isInteropLibrary()) {
|
||||||
val isCached = cachedLibraries.isLibraryCached(klib)
|
// See https://youtrack.jetbrains.com/issue/KT-43517.
|
||||||
|
// Disabling this flag forces linker to generate IR.
|
||||||
|
val isCached = false //cachedLibraries.isLibraryCached(klib)
|
||||||
return KonanInteropModuleDeserializer(moduleDescriptor, isCached)
|
return KonanInteropModuleDeserializer(moduleDescriptor, isCached)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user