From a86d4c279577cb263d83f33d9d9606eeafda05ab Mon Sep 17 00:00:00 2001 From: Manlio Perillo Date: Mon, 1 May 2023 18:23:13 +0200 Subject: [PATCH] build: don't override the top level steps When running `zig build -Dn=n`, the install and uninstall steps where overridden in order to improve the description. In recent version of Zig this is no longer allowed. --- build.zig | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build.zig b/build.zig index e1f5556..383a231 100644 --- a/build.zig +++ b/build.zig @@ -147,12 +147,6 @@ pub fn build(b: *Build) !void { test_step.dependOn(&run_step.step); } - const install_step = b.step("install", b.fmt("Install {s} to prefix path", .{ex.main_file})); - install_step.dependOn(b.getInstallStep()); - - const uninstall_step = b.step("uninstall", b.fmt("Uninstall {s} from prefix path", .{ex.main_file})); - uninstall_step.dependOn(b.getUninstallStep()); - const verify_step = ZiglingStep.create(b, ex, work_path); const zigling_step = b.step("zigling", b.fmt("Check the solution of {s}", .{ex.main_file}));