diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-08-29 20:57:37 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-08-29 22:55:59 +1000 |
| commit | 54e7bdc48e97d369acd51d1c08988fd946ccafd2 (patch) | |
| tree | 1477e941b25b68ca5633d7448afa9c60ea04fcb8 /src/rustllvm/RustWrapper.cpp | |
| parent | 33d65720360dedf612cab5f0d4343429e11b227e (diff) | |
| download | rust-54e7bdc48e97d369acd51d1c08988fd946ccafd2.tar.gz rust-54e7bdc48e97d369acd51d1c08988fd946ccafd2.zip | |
rt: Handle non-integer RUST_THREADS (slightly) more gracefully.
Previously it would call Option.unwrap(), which calls `fail!` on None, which doesn't work without the runtime (e.g. when initialising it).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
