We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f6b4b3 commit 62beb01Copy full SHA for 62beb01
1 file changed
build.zig
@@ -56,13 +56,13 @@ pub fn build(b: *std.Build) void {
56
.version = .{ .major = 2, .minor = 1, .patch = 0 },
57
});
58
59
- const install_lib = b.addInstallArtifact(c_abi_lib);
+ b.installArtifact(c_abi_lib);
60
61
// Install C header alongside library
62
const header_install = b.addInstallHeaderFile(b.path("src/c/gf16.h"), "gf16.h");
63
64
const shared_step = b.step("shared", "Build C-ABI shared library (libgoldenfloat)");
65
- shared_step.dependOn(&install_lib.step);
+ shared_step.dependOn(&b.addInstallArtifact(c_abi_lib, .{}).step);
66
shared_step.dependOn(&header_install.step);
67
68
// ─────────────────────────────────────────────────────────────────
0 commit comments