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 {...@@ -3315,6 +3315,7 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 {
33153315
3316 .fuchsia,3316 .fuchsia,
3317 .hermit,3317 .hermit,
3318 .managarm,
33183319
3319 .haiku,3320 .haiku,
3320 .hurd,3321 .hurd,
...@@ -3529,7 +3530,6 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 {...@@ -3529,7 +3530,6 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 {
3529 .opengl => null,3530 .opengl => null,
35303531
3531 .contiki,3532 .contiki,
3532 .managarm,
3533 => @panic("specify the C integer and float type sizes for this OS"),3533 => @panic("specify the C integer and float type sizes for this OS"),
3534 };3534 };
3535}3535}