Skip to content

Commit f39a208

Browse files
committed
Merging
1 parent e9151fb commit f39a208

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ POM_DEVELOPER_URL=https://touchlab.co/
2727
kotlin.mpp.enableCInteropCommonization=true
2828
kotlin.mpp.commonizerLogLevel=info
2929
kotlin.mpp.applyDefaultHierarchyTemplate=false
30+
kotlin.native.cacheKind.macosArm64=none
31+
kotlin.native.cacheKind.iosSimulatorArm64=none

sqliter-driver/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ fun configInterop(target: org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTar
2626
HostManager.hostIsMingw -> listOf("-linker-options", "-lsqlite3 -Lc:\\msys64\\mingw64\\lib")
2727
else -> listOf("-linker-options", "-lsqlite3")
2828
}
29+
kotlinNativeCompilation.kotlinOptions.freeCompilerArgs += listOf(
30+
"-opt-in=kotlin.experimental.ExperimentalNativeApi",
31+
"-opt-in=kotlinx.cinterop.ExperimentalForeignApi",
32+
"-opt-in=kotlinx.cinterop.BetaInteropApi",
33+
"-Xexpect-actual-classes",
34+
)
2935
}
3036
}
3137

0 commit comments

Comments
 (0)