doc: correct code snippet for build.zig's inclusion of zlog
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m5s
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m5s
This commit is contained in:
@@ -16,7 +16,7 @@ zig fetch --save git+https://gitea.yves-biener.de/yves-biener/zlog
|
||||
Afterwards add the library as a dependency to any module in your *build.zig*:
|
||||
|
||||
```zig
|
||||
const ztime_dependency = b.dependency("ztime", .{
|
||||
const zlog_dependency = b.dependency("zlog", .{
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
.timestamp = true, // default (only required if non-default value shall be used)
|
||||
|
||||
Reference in New Issue
Block a user