Advance NativeRuntimeApi opt-in requirement level to ERROR #KT-57720
As a part of efforts to stabilize Native stdlib.
This commit is contained in:
committed by
Space Team
parent
00abbc5cfe
commit
ba6ee484b8
@@ -18,7 +18,7 @@ import kotlin.annotation.AnnotationTarget.*
|
|||||||
* annotating that usage with the [OptIn] annotation, e.g. `@OptIn(NativeRuntimeApi::class)`,
|
* annotating that usage with the [OptIn] annotation, e.g. `@OptIn(NativeRuntimeApi::class)`,
|
||||||
* or by using the compiler argument `-opt-in=kotlin.native.runtime.NativeRuntimeApi`.
|
* or by using the compiler argument `-opt-in=kotlin.native.runtime.NativeRuntimeApi`.
|
||||||
*/
|
*/
|
||||||
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
|
@RequiresOptIn(level = RequiresOptIn.Level.ERROR)
|
||||||
@Retention(AnnotationRetention.BINARY)
|
@Retention(AnnotationRetention.BINARY)
|
||||||
@Target(
|
@Target(
|
||||||
CLASS,
|
CLASS,
|
||||||
|
|||||||
Reference in New Issue
Block a user