aboutsummaryrefslogtreecommitdiff
path: root/doc/langref.html.in
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-08-08 02:15:46 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-08-08 02:38:32 -0700
commit051aadd7810de9b68f415ec00a3867f6f783b961 (patch)
tree01b324db1cfc39840e4368ed28911bfc73968c8f /doc/langref.html.in
parent72b5ceed66005f03933a4e5bbd0eda08378b0fd0 (diff)
downloadzig-051aadd7810de9b68f415ec00a3867f6f783b961.tar.gz
zig-051aadd7810de9b68f415ec00a3867f6f783b961.zip
std lib general purpose allocator: disable stack tracing on mips
Sadly, trying to collect stack frames goes into an infinite loop on mips. This sets the default number of stack frames to collect to 0 on mips.
Diffstat (limited to 'doc/langref.html.in')
-rw-r--r--doc/langref.html.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index dbdeb0fb42..edafc82ab8 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -9363,7 +9363,7 @@ pub fn main() !void {
Finally, if none of the above apply, you need a general purpose allocator.
Zig's general purpose allocator is available as a function that takes a {#link|comptime#}
{#link|struct#} of configuration options and returns a type.
- Generally, you will set up one {#syntax#}std.heap.GeneralPurposeAllocator#{endsyntax#} in
+ Generally, you will set up one {#syntax#}std.heap.GeneralPurposeAllocator{#endsyntax#} in
your main function, and then pass it or sub-allocators around to various parts of your
application.
</li>