authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-26 12:05:49-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-26 12:05:49-04:00
log94e9b9c6255fe264ecb5850eb4edc0bb5c4b2a17
tree032ca9f10933ac9bca488099c180dde9122f18dd
parentefea7958f8bcd16349d5867f4132fbaf45df7065
signaturelock-open Commit is signed but in an unrecognized format.

docs: mention release-small along with release-fast


1 files changed, 3 insertions(+), 2 deletions(-)

doc/langref.html.in+3-2
......@@ -8423,8 +8423,9 @@ pub fn build(b: *Builder) void {
84238423 detected at compile-time, Zig emits a compile error and refuses to continue.
84248424 Most undefined behavior that cannot be detected at compile-time can be detected
84258425 at runtime. In these cases, Zig has safety checks. Safety checks can be disabled
8426 on a per-block basis with {#link|setRuntimeSafety#}. The {#link|ReleaseFast#}
8427 build mode disables all safety checks in order to facilitate optimizations.
8426 on a per-block basis with {#link|@setRuntimeSafety#}. The {#link|ReleaseFast#}
8427 and {#link|ReleaseSmall#} build modes disable all safety checks (except where overridden
8428 by {#link|@setRuntimeSafety#}) in order to facilitate optimizations.
84288429 </p>
84298430 <p>
84308431 When a safety check fails, Zig crashes with a stack trace, like this: