stage2 tests: support the -Denable-qemu options and friends

This commit is contained in:
Andrew Kelley
2020-08-04 15:32:16 -07:00
parent 02d09d1328
commit c594f8dc26
4 changed files with 113 additions and 55 deletions

View File

@@ -1857,10 +1857,10 @@ pub const LibExeObjStep = struct {
zig_args.append(builder.zig_exe) catch unreachable;
const cmd = switch (self.kind) {
Kind.Lib => "build-lib",
Kind.Exe => "build-exe",
Kind.Obj => "build-obj",
Kind.Test => "test",
.Lib => "build-lib",
.Exe => "build-exe",
.Obj => "build-obj",
.Test => "test",
};
zig_args.append(cmd) catch unreachable;