[K/N] Do not compile for deprecated targets and legacy MM

^KT-56533
^KT-58853
This commit is contained in:
Alexander Shabalin
2023-05-12 16:02:48 +02:00
committed by Space Team
parent d1ce55cbd2
commit aea8bac7d2
54 changed files with 128 additions and 2191 deletions
@@ -393,7 +393,7 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
var overrideKonanProperties: Array<String>? = null
@Argument(value="-Xdestroy-runtime-mode", valueDescription = "<mode>", description = "When to destroy runtime. 'legacy' and 'on-shutdown' are currently supported. NOTE: 'legacy' mode is deprecated and will be removed.")
var destroyRuntimeMode: String? = "on-shutdown"
var destroyRuntimeMode: String? = null
@Argument(value="-Xgc", valueDescription = "<gc>", description = "GC to use, 'noop', 'stms' and 'cms' are currently supported. Works only with -memory-model experimental")
var gc: String? = null