Skip to content

Option ‣ optimize

Chung Leong edited this page Mar 15, 2025 · 1 revision

The optimization level used to compile Zig code.

Possible values:

  • Debug
  • ReleaseSafe
  • ReleaseSmall
  • ReleaseFast

Default:

ReleaseSmall when building for production, Debug otherwise.

Clone this wiki locally