提交 f28e5812 编写于 作者: B bors

auto merge of #7854 : brson/rust/rt-test-threads, r=pcwalton

......@@ -69,7 +69,7 @@ pub fn run_in_mt_newsched_task(f: ~fn()) {
let f_cell = Cell::new(f);
do run_in_bare_thread {
let nthreads = match os::getenv("RUST_TEST_THREADS") {
let nthreads = match os::getenv("RUST_RT_TEST_THREADS") {
Some(nstr) => FromStr::from_str(nstr).get(),
None => {
// Using more threads than cores in test code
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册