diff options
| author | bors <bors@rust-lang.org> | 2014-01-31 18:21:41 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-01-31 18:21:41 -0800 |
| commit | a1f157b6ee5284614b1c5ca1f1a16102c0b12997 (patch) | |
| tree | 69be4b38c6f26f79c6f68e63282ea39b7cf7e24f /src/rustllvm/RustWrapper.cpp | |
| parent | 83f0f6ef6cb44d9fbba24372f223561a75a50c18 (diff) | |
| parent | 431edacbef23e691d1b192da78b4112c35addfbf (diff) | |
| download | rust-a1f157b6ee5284614b1c5ca1f1a16102c0b12997.tar.gz rust-a1f157b6ee5284614b1c5ca1f1a16102c0b12997.zip | |
auto merge of #11885 : bnoordhuis/rust/issue11694, r=alexcrichton
EINVAL means that the requested stack size is either not a multiple of the system page size or that it's smaller than PTHREAD_STACK_MIN. Figure out what the case is, fix it up and retry. If it still fails, give up, like before. Suggestions for future improvements: * don't fail!() but instead signal a condition, or * silently ignore the error and use a default sized stack. Fixes #11694. The first two commits put the framework in place, the third one contains the meat.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
