diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,8 @@ pub fn build(b: *std.Build) void { b.installArtifact(exe); const ctx: Ctx = .{ .b = b, .target = target, .optimize = optimize, .ztrace = ztrace, .exe = exe, .test_step = b.step("test", "Run every test") }; + // The command has a disassembler; the library does not need one. + exe.root_module.linkLibrary(@import("build/capstone.zig").add(ctx)); // The library's own tests, and a target with its own producer recorded // through the ring. |
