| ... | @@ -3315,7 +3315,10 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 { | ... | @@ -3315,7 +3315,10 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 { |
| 3315 | .char => 8, | 3315 | .char => 8, |
| 3316 | .short, .ushort => 16, | 3316 | .short, .ushort => 16, |
| 3317 | .int, .uint, .float => 32, | 3317 | .int, .uint, .float => 32, |
| 3318 | .long, .ulong => target.ptrBitWidth(), | 3318 | .long, .ulong => switch (target.os.tag) { |
| | 3319 | .plan9 => 32, // This is certainly A Choice. |
| | 3320 | else => target.ptrBitWidth(), |
| | 3321 | }, |
| 3319 | .longlong, .ulonglong, .double => 64, | 3322 | .longlong, .ulonglong, .double => 64, |
| 3320 | .longdouble => switch (target.cpu.arch) { | 3323 | .longdouble => switch (target.cpu.arch) { |
| 3321 | .x86, | 3324 | .x86, |