authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-17 03:00:48+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-17 04:29:45+02:00
log0d66ff5d32ecbdee5e5bb54e0a96bf137b7a94a4
tree8fbd2ceda7f201d8573a83169bcfb462f18235b2
parent7336dd0c9918ce403a61cbf852b74217fac62091
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: handle managarm in cTypeBitSize()


1 files changed, 1 insertions(+), 3 deletions(-)

lib/std/Target.zig+1-3
...@@ -3302,6 +3302,7 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 {...@@ -3302,6 +3302,7 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 {
3302 },3302 },
33033303
3304 .fuchsia,3304 .fuchsia,
3305 .managarm,
33053306
3306 .haiku,3307 .haiku,
3307 .hurd,3308 .hurd,
...@@ -3514,9 +3515,6 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 {...@@ -3514,9 +3515,6 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 {
3514 },3515 },
35153516
3516 .opengl => null,3517 .opengl => null,
3517
3518 .managarm,
3519 => @panic("specify the C integer and float type sizes for this OS"),
3520 };3518 };
3521}3519}
35223520