diff --git a/std/process.zig b/std/process.zig index 410575297e..b39c6e1196 100644 --- a/std/process.zig +++ b/std/process.zig @@ -388,7 +388,7 @@ pub fn args() ArgIterator { } /// Caller must call argsFree on result. -pub fn argsAlloc(allocator: *mem.Allocator) ![]const []u8 { +pub fn argsAlloc(allocator: *mem.Allocator) ![][]u8 { if (builtin.os == .wasi) { var count: usize = undefined; var buf_size: usize = undefined;