diff --git a/kotlin-native/runtime/src/main/kotlin/kotlin/native/Annotations.kt b/kotlin-native/runtime/src/main/kotlin/kotlin/native/Annotations.kt index 685ac881477..d9df80fefb0 100644 --- a/kotlin-native/runtime/src/main/kotlin/kotlin/native/Annotations.kt +++ b/kotlin-native/runtime/src/main/kotlin/kotlin/native/Annotations.kt @@ -40,16 +40,14 @@ public annotation class SymbolName(val name: String) */ @Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS) @Retention(AnnotationRetention.BINARY) -@Deprecated("This annotation will be removed in a future release") -public annotation class Retain +internal annotation class Retain /** * Preserve the function entry point during global optimizations, only for the given target. */ @Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS) @Retention(AnnotationRetention.BINARY) -@Deprecated("This annotation will be removed in a future release") -public annotation class RetainForTarget(val target: String) +internal annotation class RetainForTarget(val target: String) /** @suppress */