mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 13:58:27 +00:00
fix zig build adding invalid cli args
This commit is contained in:
parent
7b8b4d200c
commit
a391a82e49
@ -1921,7 +1921,7 @@ pub const LibExeObjStep = struct {
|
||||
}
|
||||
} else {
|
||||
var mcpu_buffer = try std.Buffer.init(builder.allocator, "-mcpu=");
|
||||
try zig_args.append(cross.cpu.model.name);
|
||||
try mcpu_buffer.append(cross.cpu.model.name);
|
||||
|
||||
for (all_features) |feature, i_usize| {
|
||||
const i = @intCast(Target.Cpu.Feature.Set.Index, i_usize);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user