about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-10 01:07:23 +0000
committerbors <bors@rust-lang.org>2018-07-10 01:07:23 +0000
commit295858eba7543b31984184df8a20d874446a6a05 (patch)
tree745ded72f1c97641e6658e7fbe6ec52cc122013a /src/rustllvm/RustWrapper.cpp
parent5b525916ee511a54d4e79dff8d854fc63ac8fff7 (diff)
parent90e32e2ac67a3bfa5388c49def90712385f504cb (diff)
downloadrust-295858eba7543b31984184df8a20d874446a6a05.tar.gz
rust-295858eba7543b31984184df8a20d874446a6a05.zip
Auto merge of #52100 - nielx:fix/rust_driver-stacklimit, r=cramertj
Haiku: work around the lack of setrlimit

The default Unix codepath fails, because Haiku does not implement
setrlimit for stack size. Thus we create an additional path.

By default, Haiku has the desired 16 MB stack, therefore in general
we do not have to spawn a new thread. The code has been written in
such a way that any changes in Haiku or in Rust will be adapted to.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions