doc: remove unnecessary comment
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 54s

This commit is contained in:
2025-11-01 00:29:41 +01:00
parent 411a6dc358
commit a211aafed6

View File

@@ -21,7 +21,6 @@ fn logFn(
if (comptime build_options.file.len > 0) {
// TODO handle errors accordingly (i.e. panic?)
// NOTE with zig 0.13.0 there is currently no way to open files to append (except to use libc or talk directly to posix, which this lib should not have to do)
// file, err := os.OpenFile("log", os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0600)
const fd = std.posix.open(build_options.file, .{
.CREAT = true,
.APPEND = true,