From a73152d972f03751deadc5b2802dca095f34720c Mon Sep 17 00:00:00 2001 From: Kalle Carlbark Date: Wed, 30 Aug 2023 22:28:52 +0200 Subject: [PATCH] chore: Cleanup --- build.zig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.zig b/build.zig index 1a3f814..889b0e3 100644 --- a/build.zig +++ b/build.zig @@ -16,10 +16,8 @@ pub fn build(b: *std.Build) void { const optimize = b.standardOptimizeOption(.{}); const clap_dep = b.dependency("clap", .{ .target = target, .optimize = optimize }); - // const zbench_dep = b.dependency("zbench", .{ .target = target, .optimize = optimize }); - const clap = clap_dep.module("clap"); - // const zbench = zbench_dep.module("zbench"); + var opt = b.addOptions(); opt.addOption([]const u8, "version", "0.0.1"); const exe = b.addExecutable(.{ @@ -32,7 +30,6 @@ pub fn build(b: *std.Build) void { }); exe.addModule("build_info", opt.createModule()); exe.addModule("clap", clap); - // exe.addModule("zbench", zbench); // This declares intent for the executable to be installed into the // standard location when the user invokes the "install" step (the default