rust/src/test
bors 4c33a14cc5 auto merge of #14886 : alexcrichton/rust/rt-improvements, r=brson
Most of the comments are available on the Task structure itself, but this commit
is aimed at making FFI-style usage of Rust tasks a little nicer.

Primarily, this commit enables re-use of tasks across multiple invocations. The
method `run` will no longer unconditionally destroy the task itself. Rather, the
task will be internally re-usable if the closure specified did not fail. Once a
task has failed once it is considered poisoned and it can never be used again.

Along the way I tried to document shortcomings of the current method of tearing
down a task, opening a few issues as well. For now none of the behavior is a
showstopper, but it's useful to acknowledge it. Also along the way I attempted
to remove as much `unsafe` code as possible, opting for safer abstractions.
2014-06-26 19:46:25 +00:00
..
auxiliary librustc: Remove the fallback to int from typechecking. 2014-06-24 17:18:48 -07:00
bench Remove unnecessary to_string calls 2014-06-26 08:56:49 +02:00
codegen
compile-fail auto merge of #15184 : jbclements/rust/for-loop-hygiene-etc, r=jbclements 2014-06-26 02:21:28 +00:00
compile-fail-fulldeps Test lint plugins 2014-06-24 11:36:28 -07:00
debuginfo Test fixes from the rollup 2014-06-24 18:57:01 -07:00
pretty librustc: Remove the fallback to int from typechecking. 2014-06-24 17:18:48 -07:00
run-fail librustc: Remove the fallback to int from typechecking. 2014-06-24 17:18:48 -07:00
run-make Stabilize version output for rustc and rustdoc 2014-06-24 17:24:34 -07:00
run-pass auto merge of #14886 : alexcrichton/rust/rt-improvements, r=brson 2014-06-26 19:46:25 +00:00
run-pass-fulldeps librustc: Remove the fallback to int from typechecking. 2014-06-24 17:18:48 -07:00