diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-10-16 14:38:46 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-10-23 16:27:38 -0700 |
| commit | cbcd67ea90979eca4a2b46838c54472058886fed (patch) | |
| tree | 0b6db2084dc256dc2c58151803131e2db395004e /src/link.zig | |
| parent | 65d42086ffbd6d7dea2b9a43b97bfc1e437f8a82 (diff) | |
| download | zig-cbcd67ea90979eca4a2b46838c54472058886fed.tar.gz zig-cbcd67ea90979eca4a2b46838c54472058886fed.zip | |
link.MachO: fix missing input classification
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/link.zig b/src/link.zig index 9363876cb2..49875c532b 100644 --- a/src/link.zig +++ b/src/link.zig @@ -1997,8 +1997,8 @@ pub fn openObjectInput(diags: *Diags, path: Path) error{LinkFailure}!Input { } }; } -pub fn openArchiveInput(diags: *Diags, path: Path) error{LinkFailure}!Input { - return .{ .archive = openObject(path, false, false) catch |err| { +pub fn openArchiveInput(diags: *Diags, path: Path, must_link: bool, hidden: bool) error{LinkFailure}!Input { + return .{ .archive = openObject(path, must_link, hidden) catch |err| { return diags.failParse(path, "failed to open {}: {s}", .{ path, @errorName(err) }); } }; } |
