I recently moved to Kotlin 1.9.0-Beta, and now IntelliJ IDEA is warning me on all the native code, telling me that:
Copy code
This declaration needs opt-in. Its usage must be marked with '@kotlinx.cinterop.ExperimentalForeignApi' or '@OptIn(kotlinx.cinterop.ExperimentalForeignApi::class)'