zig/test/c_abi
Luuk de Gram 91dba79c48
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.
2022-08-26 21:01:05 +02:00
..
build_wasm.zig C ABI tests no longer apply to only stage1 2022-07-26 14:51:45 -07:00
build.zig C ABI tests no longer apply to only stage1 2022-07-26 14:51:45 -07:00
cfuncs.c wasm: fix abi size of c_longdouble 2022-08-26 21:01:05 +02:00
main.zig wasm: fix abi size of c_longdouble 2022-08-26 21:01:05 +02:00