Loosen @NativeRuntimeApi opt-in requirement level to WARNING
This commit is contained in:
@@ -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.ERROR)
|
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
|
||||||
@Retention(AnnotationRetention.BINARY)
|
@Retention(AnnotationRetention.BINARY)
|
||||||
@Target(
|
@Target(
|
||||||
CLASS,
|
CLASS,
|
||||||
|
|||||||
Reference in New Issue
Block a user