zig0

my attempts at zig bootstrapping in C
Log | Files | Refs | README | LICENSE

commit 63bcbfe2927089eb76257c6dc32e859bcb159ffc (tree)
parent c54786ef508b511c1efe31db1cb48672f30108e3
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Thu, 12 Feb 2026 14:08:49 +0200

disable leak checker for now

Diffstat:
Mbuild.zig | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/build.zig b/build.zig @@ -79,6 +79,12 @@ pub fn build(b: *std.Build) !void { "text", "-Wno-unused-command-line-argument", "-Werror", + // false positive in astgen.c comptimeDecl: analyzer cannot track + // scratch_instructions ownership through pointer parameters. + "-Xclang", + "-analyzer-disable-checker", + "-Xclang", + "unix.Malloc", }); clang_analyze.addFileArg(b.path(cfile)); clang_analyze.expectExitCode(0);