aboutsummaryrefslogtreecommitdiff
path: root/src/Sema.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2023-02-01 19:32:54 +0100
committerJakub Konka <kubkon@jakubkonka.com>2023-02-01 19:32:54 +0100
commitbeb20d29db3fe945746581eba5d2f2cae1403cdb (patch)
treea5e7a1c3a098c93f5cf8fec062dfbf0f3a85c6af /src/Sema.zig
parent46f54b23ae604c3f99f51ca719d9085530f6b59c (diff)
downloadzig-beb20d29db3fe945746581eba5d2f2cae1403cdb.tar.gz
zig-beb20d29db3fe945746581eba5d2f2cae1403cdb.zip
link: remove union types which are now internal to backends
Diffstat (limited to 'src/Sema.zig')
-rw-r--r--src/Sema.zig10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Sema.zig b/src/Sema.zig
index 4871961753..54c3c6dc38 100644
--- a/src/Sema.zig
+++ b/src/Sema.zig
@@ -5564,16 +5564,6 @@ pub fn analyzeExport(
.visibility = borrowed_options.visibility,
},
.src = src,
- .link = switch (mod.comp.bin_file.tag) {
- .coff => .{ .coff = {} },
- .elf => .{ .elf = {} },
- .macho => .{ .macho = {} },
- .plan9 => .{ .plan9 = {} },
- .c => .{ .c = {} },
- .wasm => .{ .wasm = {} },
- .spirv => .{ .spirv = {} },
- .nvptx => .{ .nvptx = {} },
- },
.owner_decl = sema.owner_decl_index,
.src_decl = block.src_decl,
.exported_decl = exported_decl_index,