aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2024-01-14 11:22:04 +0100
committerJakub Konka <kubkon@jakubkonka.com>2024-01-24 12:34:40 +0100
commitb038bcb93b7a3e254be3fb2f1979680ffa99aa48 (patch)
treef7bf5da088d094919dd05ed068d014724e0e5d8a /src/main.zig
parentfa161c205943116f630975a097a04a9ac6ea1586 (diff)
downloadzig-b038bcb93b7a3e254be3fb2f1979680ffa99aa48.tar.gz
zig-b038bcb93b7a3e254be3fb2f1979680ffa99aa48.zip
test/link/macho: test -r mode
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.zig b/src/main.zig
index fd650384f9..857315346e 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -2823,9 +2823,7 @@ fn buildOutputType(
}
// After this point, resolved_frameworks is used instead of frameworks.
- if (create_module.resolved_options.output_mode == .Obj and
- (target.ofmt == .coff or target.ofmt == .macho))
- {
+ if (create_module.resolved_options.output_mode == .Obj and target.ofmt == .coff) {
const total_obj_count = create_module.c_source_files.items.len +
@intFromBool(root_src_file != null) +
create_module.rc_source_files.items.len +