aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-10-29 17:45:00 -0400
committerGitHub <noreply@github.com>2022-10-29 17:45:00 -0400
commit28dc208f65c0a3feca4d6018fb316d7c219d29a7 (patch)
tree80b19479b1a50431e138e138cb8eaaf750905db6 /src/link.zig
parente036cc48d59e5f7c025df7bbd9923a13e30c6ec9 (diff)
parent5aef54cbc83cce5c1afe9aededfc505d89559741 (diff)
downloadzig-28dc208f65c0a3feca4d6018fb316d7c219d29a7.tar.gz
zig-28dc208f65c0a3feca4d6018fb316d7c219d29a7.zip
Merge pull request #13082 from g-w1/unnamed-decls-and-relocs-p9
Plan9: Fix The Backend
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.zig b/src/link.zig
index 39f51e90ec..ffa95c9efb 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -581,7 +581,7 @@ pub const File = struct {
.macho => return @fieldParentPtr(MachO, "base", base).updateDeclLineNumber(module, decl),
.c => return @fieldParentPtr(C, "base", base).updateDeclLineNumber(module, decl),
.wasm => return @fieldParentPtr(Wasm, "base", base).updateDeclLineNumber(module, decl),
- .plan9 => @panic("TODO: implement updateDeclLineNumber for plan9"),
+ .plan9 => return @fieldParentPtr(Plan9, "base", base).updateDeclLineNumber(module, decl),
.spirv, .nvptx => {},
}
}