zig build run --log-level err dc --ifname enx00e04c68006a --recv-timeout-us 50000 --config-file eni.zon
Is this possible? I think this is not generally possible since I would have to run the zig compiler with sudo… but maybe somebody knows something about capabilities that I don’t know.
You could also have a separate setcap step that sets the required capabilities on the produced binary. This makes it then also easy to use it in other ways like with a debugger.