Native: allow jsinterop and cinterop (legacy sourcecode mode) using SymbolName

The interop Kotlin source generators still use `@SymbolName` to link
Kotlin code with platform code.
This commit is contained in:
Svyatoslav Scherbina
2021-11-18 12:18:01 +03:00
committed by Space
parent d70eacb1b2
commit 8bd1d7b2be
@@ -61,6 +61,7 @@ fun invokeInterop(flavor: String, args: Array<String>): Array<String>? {
"-o", outputFileName,
"-target", target.visibleName,
"-manifest", manifest.path,
"-opt-in=kotlin.native.SymbolNameIsInternal",
"-Xtemporary-files-dir=$temporaryFilesDir") +
nativeStubs +
cinteropArgsToCompiler +