Commit 9e8db5b750

Jonathan Marler <johnnymarler@gmail.com>
2019-06-13 05:09:52
Remove const on argsAlloc
1 parent 82ab006
Changed files (1)
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;