NativeRuntimeApi

This annotation marks the Kotlin/Native standard library API that tweaks or otherwise accesses the Kotlin runtime behavior.

The API marked with this annotation is considered unstable and is not intended to become stable in the future. Behavior of such an API may be changed or the API may be removed completely in any further release.

Any usage of a declaration annotated with @NativeRuntimeApi must be accepted either by annotating that usage with the OptIn annotation, e.g. @OptIn(NativeRuntimeApi::class), or by using the compiler argument -opt-in=kotlin.native.runtime.NativeRuntimeApi.

Since Kotlin

1.9