diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-09-21 22:25:58 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-09-21 22:25:58 -0700 |
| commit | 221295b7db97c78ffce39e64dd6cafd8ad0b3f9a (patch) | |
| tree | d41c8344573283da5e5be48e06d4c73662e25ddc /src/Compilation.zig | |
| parent | 747440677dc58394c73235627d9016ee5f7588d8 (diff) | |
| download | zig-221295b7db97c78ffce39e64dd6cafd8ad0b3f9a.tar.gz zig-221295b7db97c78ffce39e64dd6cafd8ad0b3f9a.zip | |
wasm: fix regression of C ABI
It seems the webassembly backend does not want the exception that
`structFieldAlignmentExtern` makes for 128-bit integers. Perhaps that
logic should be modified to check if the target is wasm.
Without this, this branch fails the C ABI tests for wasm, causing this:
```
wasm-ld: warning: function signature mismatch: zig_struct_u128
>>> defined as (i64, i64) -> void in cfuncs.o
>>> defined as (i32) -> void in test-c-abi-wasm32-wasi-musl-ReleaseFast.wasm.o
```
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
