Function get_concurrency

Source
fn get_concurrency() -> usize
Expand description

Determines the number of tests to run concurrently.

Copied from get_concurrency in libtest.

FIXME(#139660): After the libtest dependency is removed, consider making bootstrap specify the number of threads on the command-line, instead of propagating the RUST_TEST_THREADS environment variable.