mirror of
https://github.com/ziglang/zig.git
synced 2026-01-09 08:55:36 +00:00
zig cc: fix wrong flag name from earlier commit
In dfe942024461a3598fc872ea79e7859a8744b550, I made a typo. This commit corrects it. I tested this commit via a patch to zig-bootstrap.
This commit is contained in:
parent
861aa98ac2
commit
80be5e4832
@ -1890,7 +1890,7 @@ fn buildOutputType(
|
||||
fatal("expected linker arg after '{s}'", .{arg});
|
||||
}
|
||||
entry = linker_args.items[i];
|
||||
} else if (mem.eql(u8, arg, "--stack") or mem.eql(u8, arg, "-stack")) {
|
||||
} else if (mem.eql(u8, arg, "--stack") or mem.eql(u8, arg, "-stack_size")) {
|
||||
i += 1;
|
||||
if (i >= linker_args.items.len) {
|
||||
fatal("expected linker arg after '{s}'", .{arg});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user