diff options
| author | Baitinq <[email protected]> | 2025-01-23 23:25:41 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-01-23 23:25:41 +0100 |
| commit | 571700ddbbda7266620bc0718ae29d626a205e3e (patch) | |
| tree | 788031d228541e1f9fe3b3aa243ef1f825565259 /build.zig | |
| parent | Misc: Create codegen stub (diff) | |
| download | pry-lang-571700ddbbda7266620bc0718ae29d626a205e3e.tar.gz pry-lang-571700ddbbda7266620bc0718ae29d626a205e3e.tar.bz2 pry-lang-571700ddbbda7266620bc0718ae29d626a205e3e.zip | |
Misc: Add llvm zig bindings and dependency
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 3 |
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`). |