Here's a basic window with SDL2 in Zig.
zig build run
Pass a -Dtarget option. For example:
-Dtarget
zig build -Dtarget=x86_64-windows