master
1const std = @import("std");
2
3pub fn build(b: *std.Build) void {
4 const optimize = b.standardOptimizeOption(.{});
5 const exe = b.addExecutable(.{
6 .name = "example",
7 .root_module = b.createModule(.{
8 .root_source_file = b.path("example.zig"),
9 .optimize = optimize,
10 }),
11 });
12 b.default_step.dependOn(&exe.step);
13}
14
15// syntax