fix bootstrap

This commit is contained in:
Andrew Kelley 2023-11-03 20:53:38 -07:00
parent 9a1094c00f
commit 6aedddf900
2 changed files with 3 additions and 0 deletions

View File

@ -336,6 +336,8 @@ pub fn mainArgs(gpa: Allocator, arena: Allocator, args: []const []const u8) !voi
} else if (mem.eql(u8, cmd, "env")) {
verifyLibcxxCorrectlyLinked();
return @import("print_env.zig").cmdEnv(arena, cmd_args, io.getStdOut().writer());
} else if (mem.eql(u8, cmd, "reduce")) {
return @import("reduce.zig").main(gpa, arena, args);
} else if (mem.eql(u8, cmd, "zen")) {
return io.getStdOut().writeAll(info_zen);
} else if (mem.eql(u8, cmd, "help") or mem.eql(u8, cmd, "-h") or mem.eql(u8, cmd, "--help")) {

View File

@ -14,3 +14,4 @@ pub const skip_non_native = false;
pub const only_c = false;
pub const force_gpa = false;
pub const only_core_functionality = true;
pub const only_reduce = false;