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 05:24:40+02:00
log427ab15c7330ba941407358dfc4bd2ef9de68cdc
treecc13abbfbb20ddc37f0ac1d71fee711bd39239a2
parent683517681bc8646c98ac3a499352fe468dd6105d
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: handle managarm in cTypeBitSize()


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

lib/std/Target.zig+1-1
......@@ -3315,6 +3315,7 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 {
33153315
33163316 .fuchsia,
33173317 .hermit,
3318 .managarm,
33183319
33193320 .haiku,
33203321 .hurd,
......@@ -3529,7 +3530,6 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 {
35293530 .opengl => null,
35303531
35313532 .contiki,
3532 .managarm,
35333533 => @panic("specify the C integer and float type sizes for this OS"),
35343534 };
35353535}