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

This commit is contained in:
2025-11-25 19:34:21 +01:00
parent f065c08e91
commit 6f62c61897

View File

@@ -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*: Afterwards add the library as a dependency to any module in your *build.zig*:
```zig ```zig
const ztime_dependency = b.dependency("ztime", .{ const zlog_dependency = b.dependency("zlog", .{
.target = target, .target = target,
.optimize = optimize, .optimize = optimize,
.timestamp = true, // default (only required if non-default value shall be used) .timestamp = true, // default (only required if non-default value shall be used)