[stubs] Move KlibMetaFileType.STUB_VERSION to KotlinStubVersions
Track changes in K/N stubs directly instead of using the hack with KlibMetaFileType.STUB_VERSION + KotlinStubVersions.BUILTIN_STUB_VERSION. Changes in built-in stubs might or might not affect .knm stubs and should be tracked independently. The used offset constant for migration is the sum of the offsets from KlibMetaFileType and KotlinStubVersions.BUILTIN_STUB_VERSION. KTIJ-26761 KTIJ-26961
This commit is contained in:
committed by
Space Team
parent
e6b2230d51
commit
237f90d289
@@ -30,4 +30,8 @@ object KotlinStubVersions {
|
||||
// JS stub version should be increased if changes are made to js stub building subsystem (org.jetbrains.kotlin.idea.decompiler.js)
|
||||
// Increasing this version will lead to reindexing of js binary files (see KotlinJavaScriptMetaFileType).
|
||||
const val JS_STUB_VERSION = BINARY_STUB_VERSION + 4
|
||||
|
||||
// K/N stub version should be increased if changes are made to K/N stub building subsystem.
|
||||
// Increasing this version will lead to reindexing of K/N binary files (see KlibMetaFileType).
|
||||
const val KOTLIN_NATIVE_STUB_VERSION = BINARY_STUB_VERSION + 7
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user