authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-19 06:52:16+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-19 06:52:16+02:00
log7a310e4ab617928b8ec4159527af6dc0f8c6b129
treecd05b5d22656ba2d34be27d7afa1470fdff1e388
parent3026fdece234640b120e74366924349259f89e8c
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: fix cTypeBitSize(.longdouble) on alpha-netbsd/openbsd


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

lib/std/Target.zig+7-1
...@@ -3349,7 +3349,13 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 {...@@ -3349,7 +3349,13 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 {
3349 },3349 },
3350 },3350 },
33513351
3352 .alpha,3352 .alpha => switch (target.os.tag) {
3353 .netbsd,
3354 .openbsd,
3355 => 64,
3356 else => 128,
3357 },
3358
3353 .riscv32,3359 .riscv32,
3354 .riscv32be,3360 .riscv32be,
3355 .riscv64,3361 .riscv64,