From 051aadd7810de9b68f415ec00a3867f6f783b961 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 8 Aug 2020 02:15:46 -0700 Subject: 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. --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/langref.html.in') 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. -- cgit v1.2.3