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

This commit is contained in:
Alex Rønne Petersen 2024-08-06 17:27:32 +02:00
parent a1d3e56763
commit eef499812c
No known key found for this signature in database

View File

@ -2256,7 +2256,7 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
.short, .ushort => return 16,
.int, .uint, .float => return 32,
.long, .ulong, .longlong, .ulonglong, .double => return 64,
.longdouble => return 128,
.longdouble => return 64,
},
.opencl, .vulkan => switch (c_type) {