zig build: change "-Drelease" to "-Doptimize"

I find myself quite often creating ReleaseSafe builds and putting them
to production for certain experiments:
- Debug info are for stack traces. An ongoing example where those would
  help is #14815.
- Safety checks would have saved a couple of mine and @kubkon's hours in
  #15098.

This is a breaking change for scripts that make Zig releases -- I will
submit another PR to zig-bootstrap and release-cutter after this is
merged.
7abc3738a2Motiejus Jakštys committed on 4/16/2023, 8:55:51 PMparent7fad555
5 files changedLine totals unavailable