feat: fix wasi01 compile error
This commit is contained in:
@@ -6,7 +6,7 @@ pub fn main() !void {
|
||||
const args = try std.process.argsAlloc(gpa);
|
||||
defer std.process.argsFree(gpa, args);
|
||||
|
||||
for (args) |arg, i| {
|
||||
for (args, 0..) |arg, i| {
|
||||
std.debug.print("{}: {s}\n", .{ i, arg });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user