summaryrefslogtreecommitdiff
path: root/build.zig.zon
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig.zon')
-rw-r--r--build.zig.zon14
1 files changed, 14 insertions, 0 deletions
diff --git a/build.zig.zon b/build.zig.zon
index 121542c3..b1c3cafe 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -2,6 +2,20 @@
.name = .pardes,
.version = "0.0.1",
.dependencies = .{
+ // ZLS as a LIBRARY, not a language server: src/lsp_zls.zig imports the
+ // `zls` module its build.zig publishes and calls the analyser in
+ // process — no zls binary, no JSON-RPC, no handshake.
+ //
+ // Fetched like every other dependency, so it lands in zig-pkg/ and the
+ // build is reproducible from the .zon alone. Pinned to a COMMIT on the
+ // 0.16.x branch rather than a tag: master requires Zig 0.17-dev, and no
+ // tagged release both builds on 0.16 and exports these internals.
+ // 0.16.x pins `minimum_zig_version = "0.16.0"` exactly, which is why
+ // this needs none of the patches an older checkout did.
+ .zls = .{
+ .url = "git+https://github.com/zigtools/zls#3e0d082084be43e36865136a138c1fe2023b33ca",
+ .hash = "zls-0.16.1-dev-rmm5ftfOJgAzIdWUGVB08ycFbud2O3viKnGF1HZgfKZJ",
+ },
// Pinned to the exact libvaxis commit ghostty is built against, so it
// is compatible with ghostty's uucode configuration (the one we share
// with it via `external_uucode` in build.zig).