From 7e8974305c42a3fc3bd6ff1aba1e55c215c42250 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 9 Jan 2012 11:44:32 -0800 Subject: [PATCH] rt: Set Linux red zone to 20K again With runtime logging on it smashes the stack --- src/rt/rust_task.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 79a6abdcf39..edb356a9609 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -18,8 +18,8 @@ // The amount of extra space at the end of each stack segment, available // to the rt, compiler and dynamic linker for running small functions // FIXME: We want this to be 128 but need to slim the red zone calls down -#define RZ_LINUX_32 (1024*2) -#define RZ_LINUX_64 (1024*2) +#define RZ_LINUX_32 (1024*20) +#define RZ_LINUX_64 (1024*20) #define RZ_MAC_32 (1024*20) #define RZ_MAC_64 (1024*20) #define RZ_WIN_32 (1024*20)