aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-08-29 18:21:38 -0400
committerGitHub <noreply@github.com>2022-08-29 18:21:38 -0400
commitd2d42cf7ba5d965786d4bfb2fdc61dbd9a0d2ae5 (patch)
treef5134d76c873b485f831881c3b28ef897a21f4b3 /src
parente8edc4cf831229f9acfa07001f385bac7fec89b0 (diff)
parent1eb22e7ad6f700a72d34cdb36e614c95bdab0464 (diff)
downloadzig-d2d42cf7ba5d965786d4bfb2fdc61dbd9a0d2ae5.tar.gz
zig-d2d42cf7ba5d965786d4bfb2fdc61dbd9a0d2ae5.zip
Merge pull request #12641 from Luukdegram/wasm-c-types
stage2: fix size of c_longdouble for Wasm target
Diffstat (limited to 'src')
-rw-r--r--src/type.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/type.zig b/src/type.zig
index 5ff9da8913..339485c137 100644
--- a/src/type.zig
+++ b/src/type.zig
@@ -6593,6 +6593,8 @@ pub const CType = enum {
.powerpcle,
.powerpc64,
.powerpc64le,
+ .wasm32,
+ .wasm64,
=> return 128,
else => return 64,
@@ -6641,6 +6643,8 @@ pub const CType = enum {
.powerpcle,
.powerpc64,
.powerpc64le,
+ .wasm32,
+ .wasm64,
=> return 128,
else => return 64,