aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig4
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) });
} };
}