diff options
| author | Luuk de Gram <luuk@degram.dev> | 2023-01-09 19:22:55 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2023-01-12 20:50:15 +0100 |
| commit | 2339b25fd42ccd136660b9e4575aab2bb85b1163 (patch) | |
| tree | 490b3011197f7dc8fe5f4c3f320cb9c0f5e72737 /src/codegen | |
| parent | cbbf8c8a2d77d84ce88ea1cef9a3e7d54081e33d (diff) | |
| download | zig-2339b25fd42ccd136660b9e4575aab2bb85b1163.tar.gz zig-2339b25fd42ccd136660b9e4575aab2bb85b1163.zip | |
wasm-linker: discard symbol when both undefined
During symbol resolution when both symbols are undefined, we must
discard the new symbol with a reference to the existing symbol. This
ensures the original symbol remains undefined. This fixes symbol
resolution when linking with WASI-libC.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
