提交 b1714137 编写于 作者: B Brian Anderson

std::rt: Rename RUST_TEST_THREADS to RUST_RT_TEST_THREADS

上级 93c270c6
...@@ -69,7 +69,7 @@ pub fn run_in_mt_newsched_task(f: ~fn()) { ...@@ -69,7 +69,7 @@ pub fn run_in_mt_newsched_task(f: ~fn()) {
let f_cell = Cell::new(f); let f_cell = Cell::new(f);
do run_in_bare_thread { 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(), Some(nstr) => FromStr::from_str(nstr).get(),
None => { None => {
// Using more threads than cores in test code // 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.
先完成此消息的编辑!
想要评论请 注册