aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-12-14 19:10:32 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-01-01 17:51:19 -0700
commit7e7d5dc958b08dc0f671cd1b119cd831fc877d16 (patch)
treec9981ac31ed6e0a816d7a39856b0df743c222e84 /src/Compilation.zig
parent6b44bddf5dd4a50c79cd1a4d3596cc07d868dd63 (diff)
downloadzig-7e7d5dc958b08dc0f671cd1b119cd831fc877d16.tar.gz
zig-7e7d5dc958b08dc0f671cd1b119cd831fc877d16.zip
musl: update references to bin_file.options
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 693e46c07c..2a2ef3e329 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -6241,7 +6241,7 @@ pub fn build_crt_file(
defer arena_allocator.deinit();
const arena = arena_allocator.allocator();
- const basename = try std.zig.binNameAlloc(arena, .{
+ const basename = try std.zig.binNameAlloc(gpa, .{
.root_name = root_name,
.target = comp.root_mod.resolved_target.result,
.output_mode = output_mode,