mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 23:52:31 +00:00
Remove const on argsAlloc
This commit is contained in:
parent
82ab006e58
commit
9e8db5b750
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user