aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-08-26 21:01:05 +0200
committerLuuk de Gram <luuk@degram.dev>2022-08-26 21:01:05 +0200
commit91dba79c48f0a309e014062f2fe311a5c46b1084 (patch)
treebc869dd10ccb9bce56136e238cb4dfd1d9032ff5 /src/Module.zig
parent8bcb962ada2ea5cfeeff303e1063937ee13af6ad (diff)
downloadzig-91dba79c48f0a309e014062f2fe311a5c46b1084.tar.gz
zig-91dba79c48f0a309e014062f2fe311a5c46b1084.zip
wasm: fix abi size of c_longdouble
According to https://github.com/WebAssembly/tool-conventions/blob/main/BasicCABI.md the size of c's long double is 16 bytes for Wasm, rather than 8 bytes which was the value previously in the compiler. This ensures we not only pass the correct value, but also creates the correct function signature needed to pass the Wasm validator. This also adds an additional test case in c_abi tests.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions