From 8062e417f2c40cc45a422f8546b6dd76423cdb38 Mon Sep 17 00:00:00 2001 From: Grace Yoder Date: Tue, 30 Jun 2026 10:44:34 -0600 Subject: [PATCH] build: added `zig build interface` for cross platform interface checking using comptime` --- build.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.zig b/build.zig index cb43d76..59c2f26 100644 --- a/build.zig +++ b/build.zig @@ -42,6 +42,10 @@ pub fn build(b: *std.Build) void { const run_tests = b.addRunArtifact(tests); test_step.dependOn(&run_tests.step); + const interface_step = b.step("interface", "Check interface (compile tests only)"); + const check_interface = b.addInstallArtifact(tests, .{}); + interface_step.dependOn(&check_interface.step); + const run_step = b.step("run", "Run the app"); const run_cmd = b.addRunArtifact(exe);