aboutsummaryrefslogtreecommitdiff
path: root/build.zig.zon
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-05-02 16:41:33 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-05-02 16:41:33 +0200
commit5556e46cc453c024defa833b964648465ddc9e39 (patch)
tree789d144376970aaeefe14bd491d8edf220aea35c /build.zig.zon
parent5bc6edf71afe1d9b115af7363e9ffd867f2a6a57 (diff)
build(zig): link statically typst
Diffstat (limited to 'build.zig.zon')
-rw-r--r--build.zig.zon32
1 files changed, 3 insertions, 29 deletions
diff --git a/build.zig.zon b/build.zig.zon
index 18cf50d..4d33f06 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -4,35 +4,9 @@
.fingerprint = 0x6d0fd8a73f35fe5b, // Changing this has security and trust implications.
.minimum_zig_version = "0.15.2",
.dependencies = .{
- // See `zig fetch --save <url>` for a command-line interface for adding dependencies.
- //.example = .{
- // // When updating this field to a new URL, be sure to delete the corresponding
- // // `hash`, otherwise you are communicating that you expect to find the old hash at
- // // the new URL. If the contents of a URL change this will result in a hash mismatch
- // // which will prevent zig from using it.
- // .url = "https://example.com/foo.tar.gz",
- //
- // // This is computed from the file contents of the directory of files that is
- // // obtained after fetching `url` and applying the inclusion rules given by
- // // `paths`.
- // //
- // // This field is the source of truth; packages do not come from a `url`; they
- // // come from a `hash`. `url` is just one of many possible mirrors for how to
- // // obtain a package matching this `hash`.
- // //
- // // Uses the [multihash](https://multiformats.io/multihash/) format.
- // .hash = "...",
- //
- // // When this is provided, the package is found in a directory relative to the
- // // build root. In this case the package's hash is irrelevant and therefore not
- // // computed. This field and `url` are mutually exclusive.
- // .path = "foo",
- //
- // // When this is set to `true`, a package is declared to be lazily
- // // fetched. This makes the dependency only get fetched if it is
- // // actually used.
- // .lazy = false,
- //},
+ .typst = .{
+ .path = "lib/typst",
+ },
},
.paths = .{
"build.zig",