Skip to content

Commit

Permalink
build: Build executable and tests as single threaded
Browse files Browse the repository at this point in the history
  • Loading branch information
Hejsil committed Aug 23, 2024
1 parent 70de5ee commit 3e50f5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pub fn build(b: *std.Build) void {
.target = target,
.optimize = optimize,
.strip = strip,
.single_threaded = true,
});
b.installArtifact(aniz);

Expand All @@ -20,6 +21,7 @@ pub fn build(b: *std.Build) void {
.target = target,
.optimize = optimize,
.strip = strip,
.single_threaded = true,
});
const run_tests = b.addRunArtifact(tests);
test_step.dependOn(&run_tests.step);
Expand Down

0 comments on commit 3e50f5c

Please sign in to comment.