diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2023-02-01 19:32:54 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2023-02-01 19:32:54 +0100 |
| commit | beb20d29db3fe945746581eba5d2f2cae1403cdb (patch) | |
| tree | a5e7a1c3a098c93f5cf8fec062dfbf0f3a85c6af /src/link.zig | |
| parent | 46f54b23ae604c3f99f51ca719d9085530f6b59c (diff) | |
| download | zig-beb20d29db3fe945746581eba5d2f2cae1403cdb.tar.gz zig-beb20d29db3fe945746581eba5d2f2cae1403cdb.zip | |
link: remove union types which are now internal to backends
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/link.zig b/src/link.zig index 0a3226f004..2b3ce51667 100644 --- a/src/link.zig +++ b/src/link.zig @@ -261,39 +261,6 @@ pub const File = struct { /// of this linking operation. lock: ?Cache.Lock = null, - pub const LinkBlock = union { - elf: void, - coff: void, - macho: void, - plan9: void, - c: void, - wasm: void, - spirv: void, - nvptx: void, - }; - - pub const LinkFn = union { - elf: void, - coff: void, - macho: void, - plan9: void, - c: void, - wasm: Wasm.FnData, - spirv: void, - nvptx: void, - }; - - pub const Export = union { - elf: void, - coff: void, - macho: void, - plan9: void, - c: void, - wasm: void, - spirv: void, - nvptx: void, - }; - /// Attempts incremental linking, if the file already exists. If /// incremental linking fails, falls back to truncating the file and /// rewriting it. A malicious file is detected as incremental link failure |
