I would like to use Zig-Tracy in my project, but I do not want to create a git submodule. I have created a minimal reproducer for my issue here.
I have a
.zon file with Zig-Tracy in it. In
build.zig there is the option handling and module part. I can call the library functions, but
zig build run -Dtracy_enabled gives the following output:
false true true true
- If I do not comment out line 29-33 in main.zig it gives a compile error even when both value is true.
- I have copy-pasted the
enabledexpression from Zig-Tracy (here), but it gives me different results.
- I have no idea how to make
What am i doing wrong here?