doc: remove unnecessary comment
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 54s
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 54s
This commit is contained in:
@@ -21,7 +21,6 @@ fn logFn(
|
|||||||
if (comptime build_options.file.len > 0) {
|
if (comptime build_options.file.len > 0) {
|
||||||
// TODO handle errors accordingly (i.e. panic?)
|
// 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)
|
// 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, .{
|
const fd = std.posix.open(build_options.file, .{
|
||||||
.CREAT = true,
|
.CREAT = true,
|
||||||
.APPEND = true,
|
.APPEND = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user