zig/test/standalone/issue_7030/build.zig
2020-12-04 12:43:58 +01:00

15 lines
385 B
Zig

const Builder = @import("std").build.Builder;
pub fn build(b: *Builder) void {
const exe = b.addExecutable("issue_7030", "main.zig");
exe.setTarget(.{
.cpu_arch = .wasm32,
.os_tag = .freestanding,
});
exe.install();
b.default_step.dependOn(&exe.step);
const test_step = b.step("test", "Test the program");
test_step.dependOn(&exe.step);
}