diff --git a/examples/standalone/build.zig b/examples/standalone/build.zig index 9150213..7ad7a6a 100644 --- a/examples/standalone/build.zig +++ b/examples/standalone/build.zig @@ -26,7 +26,7 @@ pub fn build(b: *std.Build) void { .target = target, .optimize = optimize, }); - exe.addModule("zig-cli", zigcli_mod); + exe.root_module.addImport("zig-cli", zigcli_mod); // This declares intent for the executable to be installed into the // standard location when the user invokes the "install" step (the default diff --git a/examples/standalone/build.zig.zon b/examples/standalone/build.zig.zon index cc812c1..44507a7 100644 --- a/examples/standalone/build.zig.zon +++ b/examples/standalone/build.zig.zon @@ -5,8 +5,8 @@ .dependencies = .{ .@"zig-cli" = .{ // URL pattern: https://github.com/sam701/zig-cli/archive/.tar.gz - .url = "https://github.com/sam701/zig-cli/archive/ddf49596a9225c91e6cd9c28904aec598d5becf0.tar.gz", - .hash = "1220787d26a153a3755d55c8b65af53f7b1c4d79add4a47e2898dc776f3a16f1ce89", + .url = "https://github.com/sam701/zig-cli/archive/aa3de8e548a3d68c63e299dae3a97bc0a669dfa3.tar.gz", + .hash = "1220b1cc7c256080eb3229d95a8519d6a33035dc83558a8ca1ed6e407008a38fe2c2", }, }, }