summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorGravatar Jimmi Holst Christensen2024-10-22 17:46:47 +0200
committerGravatar Jimmi Holst Christensen2024-10-22 17:48:34 +0200
commite73b56aa4bcb7e53144ef96ee978f2a19b32669d (patch)
tree0ab5e3d426e25d2ad9d2e0cd0015fc010d9ea182 /build.zig
parentfeat: Add `terminating_positional` to `clap.ParseOptions` (diff)
downloadzig-clap-e73b56aa4bcb7e53144ef96ee978f2a19b32669d.tar.gz
zig-clap-e73b56aa4bcb7e53144ef96ee978f2a19b32669d.tar.xz
zig-clap-e73b56aa4bcb7e53144ef96ee978f2a19b32669d.zip
refactor: Always access using full namespace
This is my new preferred style of programming Zig :)
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 9035675..b4a8e91 100644
--- a/build.zig
+++ b/build.zig
@@ -1,5 +1,3 @@
1const std = @import("std");
2
3pub fn build(b: *std.Build) void { 1pub fn build(b: *std.Build) void {
4 const clap_mod = b.addModule("clap", .{ .root_source_file = b.path("clap.zig") }); 2 const clap_mod = b.addModule("clap", .{ .root_source_file = b.path("clap.zig") });
5 3
@@ -80,3 +78,5 @@ fn readMeStep(b: *std.Build) *std.Build.Step {
80 }); 78 });
81 return s; 79 return s;
82} 80}
81
82const std = @import("std");