mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
Stage2: facepalm.
This commit is contained in:
parent
9aaffe00d3
commit
e2aad33d4e
@ -433,7 +433,10 @@ fn buildOutputType(
|
|||||||
std.debug.print("-fno-emit-bin not supported yet", .{});
|
std.debug.print("-fno-emit-bin not supported yet", .{});
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
},
|
},
|
||||||
.yes_default_path => try std.fmt.allocPrint(arena, "{}.c", .{root_name}),
|
.yes_default_path => if (cbe)
|
||||||
|
try std.fmt.allocPrint(arena, "{}.c", .{root_name})
|
||||||
|
else
|
||||||
|
try std.zig.binNameAlloc(arena, root_name, target_info.target, output_mode, link_mode),
|
||||||
|
|
||||||
.yes => |p| p,
|
.yes => |p| p,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user