about summary refs log tree commit diff
path: root/src/rt/rust_env.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-04-27 16:24:34 -0700
committerbors <bors@rust-lang.org>2013-04-27 16:24:34 -0700
commit88dd53a75441d25a060fb7dc7131ea3772383562 (patch)
treee547dfa01cda27dcef11ba9af5e40c61fa0aa3f0 /src/rt/rust_env.cpp
parent9f118865a207cb4a64aa3dac81ae74ba1f7bba69 (diff)
parent149047e55d8eace3ea9d005905577f17b25c54e2 (diff)
downloadrust-88dd53a75441d25a060fb7dc7131ea3772383562.tar.gz
rust-88dd53a75441d25a060fb7dc7131ea3772383562.zip
auto merge of #6081 : brson/rust/out-of-stack, r=thestinger
People hit the recursion depth limit too often, it's not possible
to unwind reliably from out-of-stack.

Issues #3555, #3695
Diffstat (limited to 'src/rt/rust_env.cpp')
-rw-r--r--src/rt/rust_env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_env.cpp b/src/rt/rust_env.cpp
index cade5f1ed2c..041b4efac52 100644
--- a/src/rt/rust_env.cpp
+++ b/src/rt/rust_env.cpp
@@ -97,7 +97,7 @@ get_max_stk_size() {
         return strtol(maxsz, NULL, 0);
     }
     else {
-        return 1024*1024*8;
+        return 1024*1024*1024;
     }
 }