mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
build: make -Dskip-stage2-tests not build stage2
for the test-toolchain step
This commit is contained in:
parent
ab84ba39d0
commit
2c8b201d05
@ -105,7 +105,9 @@ pub fn build(b: *Builder) !void {
|
||||
exe.install();
|
||||
exe.setBuildMode(mode);
|
||||
exe.setTarget(target);
|
||||
toolchain_step.dependOn(&exe.step);
|
||||
if (!skip_stage2_tests) {
|
||||
toolchain_step.dependOn(&exe.step);
|
||||
}
|
||||
b.default_step.dependOn(&exe.step);
|
||||
exe.single_threaded = single_threaded;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user