From 33e1ecab1a15f00d6c79049fc5da29da2f715f7e Mon Sep 17 00:00:00 2001 From: nkxxll <84667783+nkxxll@users.noreply.github.com> Date: Fri, 21 Aug 2026 10:58:46 +0200 Subject: [PATCH] docs(README.md): fix build.zig addModule -> root_module.addImport --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 82d2eed3..4075f691 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ And in your `build.zig`: ```zig const xev = b.dependency("libxev", .{ .target = target, .optimize = optimize }); -exe.addModule("xev", xev.module("xev")); +exe.root_module.addImport("xev", xev.module("xev")); ``` ## Documentation