Renamed -Xklib-mpp to -Xexpect-actual-linker to reduce user confusion
This commit is contained in:
committed by
alexander-gorshenev
parent
86fd4da567
commit
97be5617ca
+4
-4
@@ -321,10 +321,10 @@ abstract class CommonCompilerArguments : CommonToolArguments() {
|
||||
var useMixedNamedArguments: Boolean by FreezableVar(false)
|
||||
|
||||
@Argument(
|
||||
value = "-Xklib-mpp",
|
||||
description = "Enable experimental support for multi-platform klib libraries"
|
||||
value = "-Xexpect-actual-linker",
|
||||
description = "Enable experimental expect/actual linker"
|
||||
)
|
||||
var klibBasedMpp: Boolean by FreezableVar(false)
|
||||
var expectActualLinker: Boolean by FreezableVar(false)
|
||||
|
||||
@Argument(value = "-Xdisable-default-scripting-plugin", description = "Do not enable scripting plugin by default")
|
||||
var disableDefaultScriptingPlugin: Boolean by FreezableVar(false)
|
||||
@@ -347,7 +347,7 @@ abstract class CommonCompilerArguments : CommonToolArguments() {
|
||||
collector.report(CompilerMessageSeverity.WARNING, "'-Xexperimental' is deprecated and will be removed in a future release")
|
||||
}
|
||||
put(AnalysisFlags.useExperimental, useExperimental?.toList().orEmpty() + optIn?.toList().orEmpty())
|
||||
put(AnalysisFlags.klibBasedMpp, klibBasedMpp)
|
||||
put(AnalysisFlags.expectActualLinker, expectActualLinker)
|
||||
put(AnalysisFlags.explicitApiVersion, apiVersion != null)
|
||||
put(AnalysisFlags.allowResultReturnType, allowResultReturnType)
|
||||
ExplicitApiMode.fromString(explicitApi)?.also { put(AnalysisFlags.explicitApiMode, it) } ?: collector.report(
|
||||
|
||||
Reference in New Issue
Block a user