diff --git a/kotlin-native/utilities/cli-runner/src/main/kotlin/org/jetbrains/kotlin/cli/utilities/InteropCompiler.kt b/kotlin-native/utilities/cli-runner/src/main/kotlin/org/jetbrains/kotlin/cli/utilities/InteropCompiler.kt index 829fc2fe7e8..0bd241ea8b0 100644 --- a/kotlin-native/utilities/cli-runner/src/main/kotlin/org/jetbrains/kotlin/cli/utilities/InteropCompiler.kt +++ b/kotlin-native/utilities/cli-runner/src/main/kotlin/org/jetbrains/kotlin/cli/utilities/InteropCompiler.kt @@ -61,6 +61,7 @@ fun invokeInterop(flavor: String, args: Array): Array? { "-o", outputFileName, "-target", target.visibleName, "-manifest", manifest.path, + "-opt-in=kotlin.native.SymbolNameIsInternal", "-Xtemporary-files-dir=$temporaryFilesDir") + nativeStubs + cinteropArgsToCompiler +