summaryrefslogtreecommitdiff
path: root/build.zig.zon
diff options
context:
space:
mode:
authorTaylan Kammer <taylan.kammer@gmail.com>2025-03-17 15:08:34 +0100
committerTaylan Kammer <taylan.kammer@gmail.com>2025-03-17 15:08:34 +0100
commit4b20042c145a5c8ca18b04b35b2bb8c3f94aced5 (patch)
treedd6693d2f99d8c4253827f5772a09eab30d091c4 /build.zig.zon
parentcf0e0eb1d43572e48242c6590b58c5abfb276b9e (diff)
Update build.zig.zon for Zig 0.14.0.
Diffstat (limited to 'build.zig.zon')
-rw-r--r--build.zig.zon23
1 files changed, 18 insertions, 5 deletions
diff --git a/build.zig.zon b/build.zig.zon
index 8fcdf25..a6829f4 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -6,16 +6,29 @@
//
// It is redundant to include "zig" in this name because it is already
// within the Zig package namespace.
- .name = "zisp",
+ .name = .zisp,
// This is a [Semantic Version](https://semver.org/).
// In a future version of Zig it will be used for package deduplication.
.version = "0.0.0",
- // This field is optional.
- // This is currently advisory only; Zig does not yet do anything
- // with this value.
- //.minimum_zig_version = "0.11.0",
+ // Together with name, this represents a globally unique package
+ // identifier. This field is generated by the Zig toolchain when the
+ // package is first created, and then *never changes*. This allows
+ // unambiguous detection of one package being an updated version of
+ // another.
+ //
+ // When forking a Zig project, this id should be regenerated (delete the
+ // field and run `zig build`) if the upstream project is still maintained.
+ // Otherwise, the fork is *hostile*, attempting to take control over the
+ // original project's identity. Thus it is recommended to leave the comment
+ // on the following line intact, so that it shows up in code reviews that
+ // modify the field.
+ .fingerprint = 0x36d734420fb160b5, // Changing this has security and trust implications.
+
+ // Tracks the earliest Zig version that the package considers to be a
+ // supported use case.
+ .minimum_zig_version = "0.15.0-dev.64+2a4e06bcb",
// This field is optional.
// Each dependency must either provide a `url` and `hash`, or a `path`.