mirror of
https://github.com/ziglang/zig.git
synced 2024-11-13 23:52:57 +00:00
process_headers: Add muslabin32 and muslx32 support.
This commit is contained in:
parent
497b502ce4
commit
94cf5b26f4
@ -130,7 +130,7 @@ pub fn muslArchNameHeaders(arch: std.Target.Cpu.Arch) [:0]const u8 {
|
||||
|
||||
pub fn muslAbiNameHeaders(abi: std.Target.Abi) [:0]const u8 {
|
||||
return switch (abi) {
|
||||
.muslabin32 => "mipsn32",
|
||||
.muslabin32 => "muslabin32",
|
||||
.muslx32 => "muslx32",
|
||||
else => "musl",
|
||||
};
|
||||
|
@ -65,6 +65,7 @@ const musl_targets = [_]LibCTarget{
|
||||
.{ .name = "m68k", .arch = .m68k, .abi = .musl },
|
||||
.{ .name = "mips", .arch = .mips, .abi = .musl },
|
||||
.{ .name = "mips64", .arch = .mips64, .abi = .musl },
|
||||
.{ .name = "mipsn32", .arch = .mips64, .abi = .muslabin32 },
|
||||
.{ .name = "powerpc", .arch = .powerpc, .abi = .musl },
|
||||
.{ .name = "powerpc64", .arch = .powerpc64, .abi = .musl },
|
||||
.{ .name = "riscv32", .arch = .riscv32, .abi = .musl },
|
||||
@ -72,6 +73,7 @@ const musl_targets = [_]LibCTarget{
|
||||
.{ .name = "s390x", .arch = .s390x, .abi = .musl },
|
||||
.{ .name = "i386", .arch = .x86, .abi = .musl },
|
||||
.{ .name = "x86_64", .arch = .x86_64, .abi = .musl },
|
||||
.{ .name = "x32", .arch = .x86_64, .abi = .muslx32 },
|
||||
};
|
||||
|
||||
const DestTarget = struct {
|
||||
|
Loading…
Reference in New Issue
Block a user