| author | |
| committer | |
| log | e2aad33d4eafe482fa145dc971a423307ae83a39 |
| tree | 1038b69338c193922e335055806e58d6ebe1841e |
| parent | 9aaffe00d3450d2fabd5fbb6a099b3cdc56d04d2 |
| signature | Commit is signed but in an unrecognized format. |
1 files changed, 4 insertions(+), 1 deletions(-)
src-self-hosted/main.zig+4-1| ... | ... | @@ -433,7 +433,10 @@ fn buildOutputType( |
| 433 | 433 | std.debug.print("-fno-emit-bin not supported yet", .{}); |
| 434 | 434 | process.exit(1); |
| 435 | 435 | }, |
| 436 | .yes_default_path => try std.fmt.allocPrint(arena, "{}.c", .{root_name}), | |
| 436 | .yes_default_path => if (cbe) | |
| 437 | try std.fmt.allocPrint(arena, "{}.c", .{root_name}) | |
| 438 | else | |
| 439 | try std.zig.binNameAlloc(arena, root_name, target_info.target, output_mode, link_mode), | |
| 437 | 440 | |
| 438 | 441 | .yes => |p| p, |
| 439 | 442 | }; |