authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-06 17:27:32+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-06 20:17:03+02:00
logeef499812c37112f4b03bde73a632c23ca753d20
treebf9da3ff2a39a0dae8f1948c022c272c19f051c3
parenta1d3e567635e79e0fbd8d56225d5098bc6cb8bbb
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Fix C long double size for amdhsa, amdpal, and mesa3d (8, not 16).


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

lib/std/Target.zig+1-1
......@@ -2256,7 +2256,7 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
22562256 .short, .ushort => return 16,
22572257 .int, .uint, .float => return 32,
22582258 .long, .ulong, .longlong, .ulonglong, .double => return 64,
2259 .longdouble => return 128,
2259 .longdouble => return 64,
22602260 },
22612261
22622262 .opencl, .vulkan => switch (c_type) {