From 040e15f72e1c67bd954631df71dbd63a807d132c Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Wed, 17 Jan 2024 16:16:28 -0600 Subject: [PATCH] feat: update to Zig v2024.1.0-mach --- build.zig | 2 +- build.zig.zon | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 7bbafcc..eb49f6a 100644 --- a/build.zig +++ b/build.zig @@ -15,7 +15,7 @@ pub fn build(b: *std.Build) void { // set a preferred release mode, allowing the user to decide how to optimize. const optimize = b.standardOptimizeOption(.{}); - _ = b.addModule("bit-string", .{ .source_file = .{ .path = "src/lib.zig" } }); + _ = b.addModule("bit-string", .{ .root_source_file = .{ .path = "src/lib.zig" } }); const lib = b.addStaticLibrary(.{ .name = "bit-string", diff --git a/build.zig.zon b/build.zig.zon index b7e4c8a..d6e04dd 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,5 +1,12 @@ .{ .name = "bit-string", .version = "0.1.0", + .paths = .{ + "build.zig", + "build.zig.zon", + "LICENSE", + "README.md", + "src" + }, .dependencies = .{}, }