mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +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
3bc70ea2dd
commit
f8f65aebe6
@ -1875,7 +1875,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