mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 01:22:50 +00:00
15 lines
385 B
Zig
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);
|
|
}
|