From cc910b1cebf63b992c321967dfa3865704aa1997 Mon Sep 17 00:00:00 2001 From: lcscosta Date: Wed, 3 Apr 2024 18:09:06 -0300 Subject: [PATCH] Update build.zig documentation --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index f2aecba..e87c27d 100644 --- a/readme.md +++ b/readme.md @@ -37,7 +37,7 @@ const zigplotlib = b.dependency("zigplotlib", .{ .optimize = optimize, }); -exe.addModule("plotlib", zigplotlib.module("zigplotlib")); +exe.root_module.addImport("plotlib", zigplotlib.module("zigplotlib")); ``` The name of the module (`plotlib`) can be changed to whatever you want.