From b3f1b00510a6be9a4f792b6fbf7fd61797603eaa Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Sun, 11 Jan 2026 11:33:34 -0500 Subject: start porting to 0.16.0 --- build.zig | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'build.zig') diff --git a/build.zig b/build.zig index 4b32dd9..c07def0 100644 --- a/build.zig +++ b/build.zig @@ -41,13 +41,10 @@ pub fn build(b: *std.Build) void { .target = target, }); - mod.addImport("network", b.dependency("network", .{}).module("network")); - mod.addImport("gatorcat", b.dependency("gatorcat", .{}).module("gatorcat")); - // Here we define an executable. An executable needs to have a root module // which needs to expose a `main` function. While we could add a main function // to the module defined above, it's sometimes preferable to split business - // business logic and the CLI into two separate modules. + // logic and the CLI into two separate modules. // // If your goal is to create a Zig library for others to use, consider if // it might benefit from also exposing a CLI tool. A parser library for a @@ -82,7 +79,6 @@ pub fn build(b: *std.Build) void { // can be extremely useful in case of collisions (which can happen // importing modules from different packages). .{ .name = "zaprus", .module = mod }, - .{ .name = "clap", .module = b.dependency("clap", .{}).module("clap") }, }, }), }); @@ -92,11 +88,6 @@ pub fn build(b: *std.Build) void { // step). By default the install prefix is `zig-out/` but can be overridden // by passing `--prefix` or `-p`. b.installArtifact(exe); - b.installArtifact(b.addLibrary(.{ - .linkage = .static, - .name = "zaprus", - .root_module = mod, - })); // This creates a top level step. Top level steps have a name and can be // invoked by name when running `zig build` (e.g. `zig build run`). -- cgit