musl: deal with zig rename of i386 to x86

musl uses "i386" for this while Zig has switched to "x86".
This commit is contained in:
Andrew Kelley
2023-06-19 14:12:30 -07:00
committed by Jacob Young
parent 928c4c9bd3
commit cdcfd15d3c
4 changed files with 14 additions and 5 deletions

View File

@@ -208,7 +208,7 @@ const musl_targets = [_]LibCTarget{
.abi = MultiAbi.musl,
},
LibCTarget{
.name = "x86",
.name = "i386",
.arch = MultiArch{ .specific = .x86 },
.abi = MultiAbi.musl,
},