mirror of
https://github.com/ziglang/zig.git
synced 2025-12-29 01:23:17 +00:00
update to new for loop syntax
This commit is contained in:
parent
26486c7f23
commit
96d798db8b
@ -279,7 +279,7 @@ fn runStepNames(
|
||||
} else {
|
||||
try step_stack.resize(step_names.len);
|
||||
|
||||
for (step_names) |step_name, i| {
|
||||
for (step_names, 0..) |step_name, i| {
|
||||
const s = b.top_level_steps.get(step_name) orelse {
|
||||
std.debug.print("no step named '{s}'. Access the help menu with 'zig build -h'\n", .{step_name});
|
||||
process.exit(1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user