authorgravatar for johnnymarler@gmail.comJonathan Marler <johnnymarler@gmail.com> 2019-06-12 21:09:52-06:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-06-13 11:42:17-04:00
log9e8db5b7505a6c2e601c8a94b9d8a4282b5df184
tree4745819ccfe50daa6a504dde1f0247eb391341fb
parent82ab006e58230b413277fbffe5c304b83a3767e2

Remove const on argsAlloc


1 files changed, 1 insertions(+), 1 deletions(-)

std/process.zig+1-1
...@@ -388,7 +388,7 @@ pub fn args() ArgIterator {...@@ -388,7 +388,7 @@ pub fn args() ArgIterator {
388}388}
389389
390/// Caller must call argsFree on result.390/// Caller must call argsFree on result.
391pub fn argsAlloc(allocator: *mem.Allocator) ![]const []u8 {391pub fn argsAlloc(allocator: *mem.Allocator) ![][]u8 {
392 if (builtin.os == .wasi) {392 if (builtin.os == .wasi) {
393 var count: usize = undefined;393 var count: usize = undefined;
394 var buf_size: usize = undefined;394 var buf_size: usize = undefined;