Skip to content

Commit 37954a7

Browse files
Abduqodiri Qurbonzodaqurbonzoda
authored andcommitted
Add more info about native target if host OS differs
1 parent 244e4ad commit 37954a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/main/src/kotlinx/benchmark/gradle/NativeMultiplatformTasks.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import kotlin.io.path.*
1111
fun Project.processNativeCompilation(target: NativeBenchmarkTarget) {
1212
val compilation = target.compilation
1313
if (compilation.target.konanTarget != HostManager.host) {
14-
project.logger.warn("Skipping benchmarks for '${target.name}' because they cannot be run on current OS")
14+
project.logger.warn("Skipping benchmarks for '${target.name}' because they cannot be run on current OS: Expected ${HostManager.host}, but was ${compilation.target.konanTarget}")
1515
return
1616
}
1717

0 commit comments

Comments
 (0)