about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-01-09 11:44:32 -0800
committerBrian Anderson <banderson@mozilla.com>2012-01-09 11:44:36 -0800
commit7e8974305c42a3fc3bd6ff1aba1e55c215c42250 (patch)
tree9cc487516732fd7a25450e012be9d1f9dac698a2 /src/rt/rust_task.cpp
parent92113489893105d5432df2fd8f727fa2ca8cec51 (diff)
downloadrust-7e8974305c42a3fc3bd6ff1aba1e55c215c42250.tar.gz
rust-7e8974305c42a3fc3bd6ff1aba1e55c215c42250.zip
rt: Set Linux red zone to 20K again
With runtime logging on it smashes the stack
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp4
1 files 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)