e520fb712b
When loading default libraries, the code assumed that all subdirectories of <kotlin native home>/klib/*/ corresponded to valid libraries. The bug report only considers the case of .DS_STORE, which is generated by Finder on MacOS, but this case has already been accounted for in the code. The fix filters out all subdirectories that are not stdlib and don’t have the “org.jetbrains.kotlin” prefix. Co-authored-by: Troels Lund <troels@google.com>