Don't use global state for keeping incremental compilation state
Previously IC state was stored in System properties. As result parallel compilation might cause incorrect state of IC, what led to corruption of kotlin_module files. Now IC state is stored via CompilerArguments and CompilerConfiguration #KT-46038 Fixed
This commit is contained in:
@@ -66,6 +66,10 @@ object CommonConfigurationKeys {
|
||||
@JvmField
|
||||
val KLIB_NORMALIZE_ABSOLUTE_PATH =
|
||||
CompilerConfigurationKey.create<Boolean>("Normalize absolute paths in klib (replace file separator with '/')")
|
||||
|
||||
@JvmField
|
||||
val INCREMENTAL_COMPILATION =
|
||||
CompilerConfigurationKey.create<Boolean>("Enable incremental compilation")
|
||||
}
|
||||
|
||||
var CompilerConfiguration.languageVersionSettings: LanguageVersionSettings
|
||||
|
||||
Reference in New Issue
Block a user