authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-08 02:02:11+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-08 02:02:11+02:00
log1e1cd1f02c98bd63bbeb308f827922f4f3fa1a84
tree6496101f4e5c051ac27c8bba83ef3e84c6b2d1ce
parent4e566536287d8e2fbc6e01a5bb865c41ac2c4956
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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

This reverts commit eef499812c37112f4b03bde73a632c23ca753d20.

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

lib/std/Target.zig+1-1
...@@ -2295,7 +2295,7 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {...@@ -2295,7 +2295,7 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
2295 .short, .ushort => return 16,2295 .short, .ushort => return 16,
2296 .int, .uint, .float => return 32,2296 .int, .uint, .float => return 32,
2297 .long, .ulong, .longlong, .ulonglong, .double => return 64,2297 .long, .ulong, .longlong, .ulonglong, .double => return 64,
2298 .longdouble => return 64,2298 .longdouble => return 128,
2299 },2299 },
23002300
2301 .opencl, .vulkan => switch (c_type) {2301 .opencl, .vulkan => switch (c_type) {