[native] Remove code support for experimental KonanTargets

ZEPHYR was the first and the last experimental KonanTarget.
As ZEPHYR is now entirely removed from the codebase, the respective code
can be dropped

^KT-64517
This commit is contained in:
Dmitry Savvinov
2024-01-16 14:51:08 +01:00
committed by Space Team
parent 47546ece27
commit b19ad2505c
7 changed files with 22 additions and 87 deletions
@@ -177,7 +177,7 @@ internal object NativeTestSupport {
val nativeHome = getOrCreateTestProcessSettings().get<KotlinNativeHome>()
val distribution = Distribution(nativeHome.dir.path)
val hostManager = HostManager(distribution, experimental = false)
val hostManager = HostManager()
val nativeTargets = computeNativeTargets(enforcedProperties, hostManager)
val cacheMode = computeCacheMode(enforcedProperties, distribution, nativeTargets, optimizationMode)
@@ -71,5 +71,5 @@ internal val Settings.configurables: Configurables
// Development variant of LLVM is used to have utilities like FileCheck
propertyOverrides = mapOf("llvmHome.${HostManager.hostName}" to "\$llvm.${HostManager.hostName}.dev")
)
return PlatformManager(distribution, true).platform(get<KotlinNativeTargets>().testTarget).configurables
return PlatformManager(distribution).platform(get<KotlinNativeTargets>().testTarget).configurables
}