~mil/mepo-devel

mepo: unpin zig patch number v1 APPLIED

laalsaas: 1
 unpin zig patch number

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mil/mepo-devel/patches/38622/mbox | git am -3
Learn more about email & git

[PATCH mepo] unpin zig patch number Export this patch

A patch release shouldn't have any breaking changes. However, pinning
the patch means reducing the tolerance for different zig versions in
software repositorys to zero.
---
NixOS only has zig 0.10.1, however mepo 1.1.1 still pins zig 0.10.0,
while mepo 1.1.2 isn't released yet.

 src/main.zig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.zig b/src/main.zig
index 513038e..33c78f2 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -11,8 +11,8 @@ const utildbg = @import("./util/utildbg.zig");
pub fn main() !void {
    comptime {
        const v = builtin.zig_version;
        if (v.major != 0 or v.minor != 10 or v.patch != 1)
            @panic("Must be built against Zig 0.10.1");
        if (v.major != 0 or v.minor != 10)
            @panic("Must be built against Zig 0.10.x");
    }

    const allocator = std.heap.c_allocator;
-- 
2.38.1