diff options
Diffstat (limited to 'lib/std/zig.zig')
| -rw-r--r-- | lib/std/zig.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/zig.zig b/lib/std/zig.zig index 56981a74ac..1420db8ec2 100644 --- a/lib/std/zig.zig +++ b/lib/std/zig.zig @@ -100,7 +100,7 @@ pub const BinNameOptions = struct { }; /// Returns the standard file system basename of a binary generated by the Zig compiler. -pub fn binNameAlloc(allocator: *std.mem.Allocator, options: BinNameOptions) error{OutOfMemory}![]u8 { +pub fn binNameAlloc(allocator: std.mem.Allocator, options: BinNameOptions) error{OutOfMemory}![]u8 { const root_name = options.root_name; const target = options.target; const ofmt = options.object_format orelse target.getObjectFormat(); |
