master
 1const std = @import("std");
 2
 3pub fn build(b: *std.Build) void {
 4    const test_step = b.step("test", "Test");
 5    b.default_step = test_step;
 6
 7    const exe = b.addExecutable(.{
 8        .name = "bss",
 9        .root_module = b.createModule(.{
10            .root_source_file = b.path("main.zig"),
11            .target = b.graph.host,
12            .optimize = .Debug,
13        }),
14    });
15
16    const run = b.addRunArtifact(exe);
17    run.expectStdOutEqual("0, 1, 0\n");
18
19    test_step.dependOn(&run.step);
20}