mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 08:33:06 +00:00
91dba79c48
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. |
||
---|---|---|
.. | ||
build_wasm.zig | ||
build.zig | ||
cfuncs.c | ||
main.zig |