feature(linux): prefer musl builds to gnu builds

This commit is contained in:
AJ ONeal
2021-11-24 06:58:52 +00:00
parent a05e632457
commit ef1b4f03c8

View File

@@ -72,6 +72,13 @@ function normalize(all) {
return osMap[regKey].test(rel.name || rel.download);
}) || 'unknown';
}
// Hacky-doo for musl
// TODO some sort of glibc vs musl tag?
if (!rel._musl) {
if (/(\b|\.|_|-)(musl)(\b|\.|_|-)/.test(rel.download)) {
rel._musl = true;
}
}
supported.oses[rel.os] = true;
if (!rel.arch) {