rust/src/libstd/rt
bors 72bf895629 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.)
2013-08-30 03:30:43 -07:00
..
io auto merge of #8819 : vadimcn/rust/unit-tests, r=brson 2013-08-29 20:40:47 -07:00
uv auto merge of #8819 : vadimcn/rust/unit-tests, r=brson 2013-08-29 20:40:47 -07:00
args.rs rt: use sugary functions rather than manual range loops. 2013-08-29 22:55:59 +10:00
borrowck.rs librustc: Stop calling each_path in coherence. 2013-08-27 18:47:58 -07:00
comm.rs Remove the iter module. 2013-08-29 01:27:24 -04:00
context.rs Support Win64 context switching 2013-08-26 22:16:54 +09:00
env.rs std: Restore dynamic borrow tracking 2013-08-19 20:39:39 -07:00
global_heap.rs Add externfn macro and correctly label fixed_stack_segments 2013-08-19 07:13:15 -04:00
kill.rs auto merge of #8790 : huonw/rust/unsafearc, r=thestinger 2013-08-27 13:20:47 -07:00
local.rs librustc: Fix merge fallout 2013-08-27 19:09:27 -07:00
local_heap.rs librustc: Ensure that type parameters are in the right positions in paths. 2013-08-27 18:47:57 -07:00
local_ptr.rs rt: remove a series of unfortunate casts. 2013-08-29 22:55:59 +10:00
logging.rs Rangechange the log message truncation limit. 2013-08-19 09:35:51 -07:00
message_queue.rs Rename UnsafeAtomicRcBox to UnsafeArc. Fixes #7674. 2013-08-27 20:12:39 +10:00
mod.rs rt: use sugary functions rather than manual range loops. 2013-08-29 22:55:59 +10:00
rc.rs Change finalize -> drop. 2013-06-25 21:14:39 -04:00
rtio.rs Revert "auto merge of #8645 : alexcrichton/rust/issue-6436-run-non-blocking, r=brson" 2013-08-29 14:23:44 -07:00
sched.rs Remove the iter module. 2013-08-29 01:27:24 -04:00
select.rs librustc: Ensure that type parameters are in the right positions in paths. 2013-08-27 18:47:57 -07:00
sleeper_list.rs Rename UnsafeAtomicRcBox to UnsafeArc. Fixes #7674. 2013-08-27 20:12:39 +10:00
stack.rs Remove offset_inbounds for an unsafe offset function 2013-08-27 23:22:52 -07:00
task.rs Consolidate local_data implementations, and cleanup 2013-08-27 21:29:11 -07:00
test.rs Try to fix mac valgrind bot by disabling thread-heavy activities. 2013-08-19 15:09:20 -07:00
thread.rs Add externfn macro and correctly label fixed_stack_segments 2013-08-19 07:13:15 -04:00
thread_local_storage.rs std: Add Win64 support 2013-08-26 22:15:45 +09:00
tube.rs librustc: Ensure that type parameters are in the right positions in paths. 2013-08-27 18:47:57 -07:00
util.rs rt: Handle non-integer RUST_THREADS (slightly) more gracefully. 2013-08-29 22:55:59 +10:00
work_queue.rs Change concurrency primitives to standard naming conventions 2013-07-27 22:06:29 -07:00