Skip to content

Commit

Permalink
Update build.zig documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lcscosta committed Apr 3, 2024
1 parent 650d0c7 commit cc910b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cc910b1

Please sign in to comment.