HMPP: Evaluate exact TargetPlatform for each K/N KLIB library
This commit is contained in:
@@ -52,6 +52,9 @@ object NativePlatforms {
|
||||
}
|
||||
}
|
||||
|
||||
fun nativePlatformByTargetNames(targets: Collection<String>): TargetPlatform =
|
||||
nativePlatformByTargets(targets.mapNotNull { KonanTarget.predefinedTargets[it] })
|
||||
|
||||
@Deprecated(
|
||||
message = "Should be accessed only by compatibility layer, other clients should use 'unspecifiedNativePlatform'",
|
||||
level = DeprecationLevel.ERROR
|
||||
|
||||
Reference in New Issue
Block a user