| ... | ... | @@ -79,7 +79,9 @@ pub fn main() !void { |
| 79 | 79 | } else if (mem.eql(u8, cmd, "libc")) { |
| 80 | 80 | return cmdLibC(allocator, cmd_args); |
| 81 | 81 | } else if (mem.eql(u8, cmd, "targets")) { |
| 82 | | return @import("print_targets.zig").cmdTargets(allocator, cmd_args, stdout); |
| 82 | // TODO figure out the current target rather than using the target that was specified when |
| 83 | // compiling the compiler |
| 84 | return @import("print_targets.zig").cmdTargets(allocator, cmd_args, stdout, Target.current); |
| 83 | 85 | } else if (mem.eql(u8, cmd, "version")) { |
| 84 | 86 | return cmdVersion(allocator, cmd_args); |
| 85 | 87 | } else if (mem.eql(u8, cmd, "zen")) { |