Using zig-tracy from zon file

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:

  1. If I do not comment out line 29-33 in main.zig it gives a compile error even when both value is true.
  2. I have copy-pasted the enabled expression from Zig-Tracy (here), but it gives me different results.
  3. I have no idea how to make tracy.enabled true.

What am i doing wrong here?