From 94e9b9c6255fe264ecb5850eb4edc0bb5c4b2a17 Mon Sep 17 00:00:00 2001
From: Andrew Kelley
Date: Thu, 26 Sep 2019 12:05:49 -0400
Subject: [PATCH] docs: mention release-small along with release-fast
---
doc/langref.html.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in
index d855972dd0..2e51ad5e6c 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -8423,8 +8423,9 @@ pub fn build(b: *Builder) void {
detected at compile-time, Zig emits a compile error and refuses to continue.
Most undefined behavior that cannot be detected at compile-time can be detected
at runtime. In these cases, Zig has safety checks. Safety checks can be disabled
- on a per-block basis with {#link|setRuntimeSafety#}. The {#link|ReleaseFast#}
- build mode disables all safety checks in order to facilitate optimizations.
+ on a per-block basis with {#link|@setRuntimeSafety#}. The {#link|ReleaseFast#}
+ and {#link|ReleaseSmall#} build modes disable all safety checks (except where overridden
+ by {#link|@setRuntimeSafety#}) in order to facilitate optimizations.
When a safety check fails, Zig crashes with a stack trace, like this: