about summary refs log tree commit diff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index ea79181..f4db0c9 100644
--- a/build.zig
+++ b/build.zig
@@ -33,6 +33,9 @@ pub fn build(b: *std.Build) !void {
         .root_module = exe_mod,
     });
 
+    const llvm_zig = b.dependency("llvm-zig", .{});
+    exe.root_module.addImport("llvm", llvm_zig.module("llvm"));
+
     // This declares intent for the executable to be installed into the
     // standard location when the user invokes the "install" step (the default
     // step when running `zig build`).