mirror of
https://github.com/ziglang/zig.git
synced 2025-02-08 13:40:30 +00:00
std.Target: Fix C long double size for amdhsa, amdpal, and mesa3d (8, not 16).
This commit is contained in:
parent
a1d3e56763
commit
eef499812c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user