~jan0sch/rig

Showing details for patch c2f0f1ff42c4c4f4bbddc6da8208a258edfff3ea.
2025-06-19 (Thu), 9:42 AM - Jens Grassel - c2f0f1ff42c4c4f4bbddc6da8208a258edfff3ea

Update build file for zig 0.14

Summary of changes
1 files modified with 16 lines added and 2 lines removed
  • build.zig.zon with 16 added and 2 removed lines
diff -rN -u old-rig/build.zig.zon new-rig/build.zig.zon
--- old-rig/build.zig.zon	2025-06-23 11:49:15.735587116 +0000
+++ new-rig/build.zig.zon	2025-06-23 11:49:15.735587116 +0000
@@ -6,16 +6,30 @@
     //
     // It is redundant to include "zig" in this name because it is already
     // within the Zig package namespace.
-    .name = "rig",
+    .name = .rig,
 
     // This is a [Semantic Version](https://semver.org/).
     // In a future version of Zig it will be used for package deduplication.
     .version = "1.0.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 = 0xcfdd4139edecaab3, // Changing this has security and trust implications.
+
     // This field is optional.
     // This is currently advisory only; Zig does not yet do anything
     // with this value.
-    //.minimum_zig_version = "0.11.0",
+    .minimum_zig_version = "0.13.0",
 
     // This field is optional.
     // Each dependency must either provide a `url` and `hash`, or a `path`.