mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
update-linux-headers: add loongarch and xtensa
These operating systems are newly supported by Zig since the last linux-headers update.
This commit is contained in:
parent
1253d591be
commit
6946a26adc
1 changed files with 9 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ const LibCTarget = struct {
|
||||||
const MultiArch = union(enum) {
|
const MultiArch = union(enum) {
|
||||||
arm,
|
arm,
|
||||||
arm64,
|
arm64,
|
||||||
|
loongarch,
|
||||||
mips,
|
mips,
|
||||||
powerpc,
|
powerpc,
|
||||||
riscv,
|
riscv,
|
||||||
|
|
@ -69,6 +70,10 @@ const linux_targets = [_]LibCTarget{
|
||||||
.name = "m68k",
|
.name = "m68k",
|
||||||
.arch = .{ .specific = .m68k },
|
.arch = .{ .specific = .m68k },
|
||||||
},
|
},
|
||||||
|
LibCTarget{
|
||||||
|
.name = "loongarch",
|
||||||
|
.arch = .loongarch,
|
||||||
|
},
|
||||||
LibCTarget{
|
LibCTarget{
|
||||||
.name = "mips",
|
.name = "mips",
|
||||||
.arch = .mips,
|
.arch = .mips,
|
||||||
|
|
@ -93,6 +98,10 @@ const linux_targets = [_]LibCTarget{
|
||||||
.name = "x86",
|
.name = "x86",
|
||||||
.arch = .x86,
|
.arch = .x86,
|
||||||
},
|
},
|
||||||
|
LibCTarget{
|
||||||
|
.name = "xtensa",
|
||||||
|
.arch = .{ .specific = .xtensa },
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const DestTarget = struct {
|
const DestTarget = struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue