std: fix long double size for loongarch.

This commit is contained in:
YANG Xudong 2024-07-22 10:56:14 +08:00 committed by Andrew Kelley
parent 2fb813c61f
commit a69d403cb2

View File

@ -2089,6 +2089,8 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
.sparcel,
.wasm32,
.wasm64,
.loongarch32,
.loongarch64,
=> return 128,
else => return 64,
@ -2194,6 +2196,8 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
.sparcel,
.wasm32,
.wasm64,
.loongarch32,
.loongarch64,
=> return 128,
else => return 64,