diff options
| author | bors <bors@rust-lang.org> | 2013-08-30 03:30:43 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-30 03:30:43 -0700 |
| commit | 72bf8956298107d36430bbfc4a18177e7b2097c6 (patch) | |
| tree | ffe5019eb5fb0badbc53893291b5973ef104435b /src/rustllvm/RustWrapper.cpp | |
| parent | f10e50a4beecbf6afa51870190458d34f216fe54 (diff) | |
| parent | 4fea236a85b61b52fc3e16348886ff32f5b8210b (diff) | |
| download | rust-72bf8956298107d36430bbfc4a18177e7b2097c6.tar.gz rust-72bf8956298107d36430bbfc4a18177e7b2097c6.zip | |
auto merge of #8854 : huonw/rust/rt-papercuts, r=brson
The only user-facing change is handling non-integer (and zero) `RUST_THREADS` more nicely: ``` $ RUST_THREADS=x rustc # old You've met with a terrible fate, haven't you? fatal runtime error: runtime tls key not initialized Aborted $ RUST_THREADS=x ./x86_64-unknown-linux-gnu/stage2/bin/rustc # new You've met with a terrible fate, haven't you? fatal runtime error: `RUST_THREADS` is `x`, should be a positive integer Aborted ``` The other changes are converting some `for .. in range(x,y)` to `vec::from_fn` or `for .. in x.iter()` as appropriate; and removing a chain of (seemingly) unnecessary pointer casts. (Also, fixes a typo in `extra::test` from #8823.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
