mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-04-06 18:36:50 +00:00
fix(resolver): prefer no-dep builds in libc waterfall
Static (none) first on all platforms — no runtime dependencies. Linux: none, gnu, musl. Windows: none, msvc (vcredist not bundled).
This commit is contained in:
@@ -270,9 +270,11 @@ func enumerateTriplets(osStr, archStr, libcStr string) []platformTriple {
|
||||
// No preference: try all common options.
|
||||
switch osStr {
|
||||
case "linux":
|
||||
libcs = []string{"gnu", "musl", "none", ""}
|
||||
// none first (static, no deps), then gnu, musl, empty.
|
||||
libcs = []string{"none", "gnu", "musl", ""}
|
||||
case "windows":
|
||||
libcs = []string{"msvc", "none", ""}
|
||||
// none first (no deps), msvc last (needs vcredist).
|
||||
libcs = []string{"none", "msvc", ""}
|
||||
default:
|
||||
libcs = []string{"none", ""}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user