diff options
| author | tranquillity-codes <dev@itycodes.org> | 2023-03-04 10:10:07 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-03-04 23:13:15 +0200 |
| commit | c9d990d79083f117564837f762c3e225d7fbc5cf (patch) | |
| tree | d77d20a7729cc5d58569b27e68202678b8a77b98 /doc/langref.html.in | |
| parent | 010596c93054543c3c218e7d4b045d5e46384dab (diff) | |
| download | zig-c9d990d79083f117564837f762c3e225d7fbc5cf.tar.gz zig-c9d990d79083f117564837f762c3e225d7fbc5cf.zip | |
fix doc Build Mode
Diffstat (limited to 'doc/langref.html.in')
| -rw-r--r-- | doc/langref.html.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index e016ef13f8..71d99b3aae 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -9565,9 +9565,10 @@ pub fn build(b: *std.Build) void { This causes these options to be available: </p> <dl> - <dt><kbd>-Drelease-safe=[bool]</kbd></dt><dd>Optimizations on and safety on</dd> - <dt><kbd>-Drelease-fast=[bool]</kbd></dt><dd>Optimizations on and safety off</dd> - <dt><kbd>-Drelease-small=[bool]</kbd></dt><dd>Size optimizations on and safety off</dd> + <dt><kbd>-Doptimize=Debug</kbd></dt><dd>Optimizations off and safety on (default)</dd> + <dt><kbd>-Doptimize=ReleaseSafe</kbd></dt><dd>Optimizations on and safety on</dd> + <dt><kbd>-Doptimize=ReleaseFast</kbd></dt><dd>Optimizations on and safety off</dd> + <dt><kbd>-Doptimize=ReleaseSmall</kbd></dt><dd>Size optimizations on and safety off</dd> </dl> {#header_open|Debug#} {#shell_samp#}$ zig build-exe example.zig{#end_shell_samp#} |
