diff --git a/std/process.zig b/std/process.zig index 410575297e3a1a90f8c2314956880b975e4c82e9..b39c6e119672d322c849777710b53ca9f6476446 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;