Skip to content

Commit

Permalink
fixed module import to comply to zig version 2024.1.0-mach (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrksfnk authored Mar 2, 2024
1 parent 7255e6a commit 4dc4e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/engine/stdlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Then use the dependency in your `build.zig`:
```zig
pub fn build(b: *std.Build) void {
...
exe.addModule("mach", b.dependency("mach", .{
exe.root_module.addImport("mach", b.dependency("mach", .{
.target = target,
.optimize = optimize,
}).module("mach"));
Expand Down

0 comments on commit 4dc4e13

Please sign in to comment.