diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2023-01-26 13:17:38 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2023-01-26 14:29:14 +0100 |
| commit | e1b9800ffa74a637e2b0a6356249c2c37228ec01 (patch) | |
| tree | 9a239b77750b0216e8e5fe24ea0c930ebf5943ca /src/link.zig | |
| parent | fb8d754a4bf823b66bcf3fa281c469af8be6f923 (diff) | |
| download | zig-e1b9800ffa74a637e2b0a6356249c2c37228ec01.tar.gz zig-e1b9800ffa74a637e2b0a6356249c2c37228ec01.zip | |
elf: migrate to new non-allocateDeclIndexes API
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.zig b/src/link.zig index 1eee9cad7c..d64c09d199 100644 --- a/src/link.zig +++ b/src/link.zig @@ -616,7 +616,7 @@ pub const File = struct { } switch (base.tag) { .coff => return @fieldParentPtr(Coff, "base", base).allocateDeclIndexes(decl_index), - .elf => return @fieldParentPtr(Elf, "base", base).allocateDeclIndexes(decl_index), + .elf => {}, // no-op .macho => {}, // no-op .wasm => return @fieldParentPtr(Wasm, "base", base).allocateDeclIndexes(decl_index), .plan9 => return @fieldParentPtr(Plan9, "base", base).allocateDeclIndexes(decl_index), |
