Skip to content

Commit

Permalink
chore: update zig 0.13 install guide. (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanaasagi authored Nov 11, 2024
1 parent 1d4af1a commit fb3ecae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ On your project root directory make a directory name libs.
- Then add the module into your `build.zig`

```zig
exe.addAnonymousModule("zbench", .{
.source_file = .{ .path = "libs/zbench/zbench.zig" },
exe.root_module.addAnonymousImport("zbench", .{
.root_source_file = b.path("libs/zbench/zbench.zig"),
});
```

Expand Down

0 comments on commit fb3ecae

Please sign in to comment.