Build Zig compiler for native machine

I already have zig installed in my computer, but i want a build optimized for my specific CPU to get nicer compile times. I use a slow laptop.

I know this might be a silly question, but even after reading a bit through the documentation, i am not sure wich compiler flags i should use to build Zig. (My 1st time building a non-toy compiler)

I want to avoid running tests that are not relevant for my machine and also bulding LLVM wich would take hours, not very pleasant to do every time i update Zig.

(post deleted by author)

Check out the build options on the bootstrapping page, I think you just want native-[whatever]-[whatever]

https://codeberg.org/ziglang/zig-bootstrap