From 571700ddbbda7266620bc0718ae29d626a205e3e Mon Sep 17 00:00:00 2001 From: Baitinq Date: Thu, 23 Jan 2025 23:25:41 +0100 Subject: Misc: Add llvm zig bindings and dependency --- build.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build.zig') 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`). -- cgit 1.4.1