Skip to content

Commit 188fe70

Browse files
committed
Remove rt::default_sched_threads and RUST_THREADS.
As @alexcrichton says, this was really a libgreen thing, and isn't relevant now. As this removes a technically-public function, this is a [breaking-change]
1 parent 0834bd1 commit 188fe70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libtest/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ fn run_tests<F>(opts: &TestOpts,
844844

845845
#[allow(deprecated)]
846846
fn get_concurrency() -> uint {
847-
match env::var("RUST_TEST_THREADS") {
847+
match env::var("RUST_TEST_TASKS") {
848848
Ok(s) => {
849849
let opt_n: Option<uint> = s.parse().ok();
850850
match opt_n {

0 commit comments

Comments
 (0)