aboutsummaryrefslogtreecommitdiff
path: root/src/dev.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-08-30 12:08:18 -0400
committerAndrew Kelley <andrew@ziglang.org>2025-09-21 14:09:14 -0700
commitf58200e3f2967a06f343c9fc9dcae9de18def92a (patch)
tree84257e40a7a0186fbc10cf7467e65f004036d3e3 /src/dev.zig
parent2a97e0af6d42e038d962890a320e262e676d44cb (diff)
downloadzig-f58200e3f2967a06f343c9fc9dcae9de18def92a.tar.gz
zig-f58200e3f2967a06f343c9fc9dcae9de18def92a.zip
Elf2: create a new linker from scratch
This iteration already has significantly better incremental support. Closes #24110
Diffstat (limited to 'src/dev.zig')
-rw-r--r--src/dev.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dev.zig b/src/dev.zig
index ac30cedecd..266796a2dc 100644
--- a/src/dev.zig
+++ b/src/dev.zig
@@ -97,6 +97,7 @@ pub const Env = enum {
.lld_linker,
.coff_linker,
.elf_linker,
+ .elf2_linker,
.macho_linker,
.c_linker,
.wasm_linker,
@@ -163,6 +164,7 @@ pub const Env = enum {
.incremental,
.aarch64_backend,
.elf_linker,
+ .elf2_linker,
=> true,
else => Env.sema.supports(feature),
},
@@ -210,6 +212,7 @@ pub const Env = enum {
.legalize,
.x86_64_backend,
.elf_linker,
+ .elf2_linker,
=> true,
else => Env.sema.supports(feature),
},
@@ -282,6 +285,7 @@ pub const Feature = enum {
lld_linker,
coff_linker,
elf_linker,
+ elf2_linker,
macho_linker,
c_linker,
wasm_linker,