Hi,
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
My issues:
- 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
enabled
expression from Zig-Tracy (here), but it gives me different results. - I have no idea how to make
tracy.enabled
true.
What am i doing wrong here?