Verbose logging of versions if KLIB compiler version mismatches

This commit is contained in:
Dmitriy Dolovov
2018-09-14 18:35:48 +03:00
committed by alexander-gorshenev
parent 3835f86fde
commit f94a945d1e
@@ -210,7 +210,7 @@ internal fun SearchPathResolverWithTarget.libraryMatch(candidate: KonanLibraryIm
if (candidateCompilerVersion == null ||
knownCompilerVersions != null &&
!knownCompilerVersions!!.contains(candidateCompilerVersion)) {
logger("skipping $candidatePath. The compiler versions don't match. Expected '${knownCompilerVersions}', found '${candidateCompilerVersion}'")
logger("skipping $candidatePath. The compiler versions don't match. Expected '${knownCompilerVersions?.map { it.toString(true, true) }}', found '${candidateCompilerVersion?.toString(true, true)}'")
return false
}