about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-11-10 14:46:41 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-11-11 10:40:34 -0800
commit1f192430956704ddf263aba0cfb5b8856c547beb (patch)
tree8d225bec123419b4aaaa61820edd624e7aa637b2 /src/rustllvm/RustWrapper.cpp
parent7755ffd0131fa99ca5d58bdd5eab443b44d5a1ff (diff)
downloadrust-1f192430956704ddf263aba0cfb5b8856c547beb.tar.gz
rust-1f192430956704ddf263aba0cfb5b8856c547beb.zip
Decrease the default stack size back to 2MB
I increased this to 4MB when I implemented abort-on-stack-overflow for Rust
functions. Now that the fixed_stack_segment attribute is removed, no rust
function will ever reasonably request 2MB of stack (due to calling an FFI
function).

The default size of 2MB should be plenty for everyday use-cases, and tasks can
still request more stack via the spawning API.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions