☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
rayon-core
/
tests
/
init_zero_threads.rs
☽
☼
debian/rust-vendor/rayon-core/tests/init_zero_threads.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
1
use rayon_core::ThreadPoolBuilder;
2
3
#[test]
4
#[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
5
fn init_zero_threads() {
6
ThreadPoolBuilder::new()
7
.num_threads(0)
8
.build_global()
9
.unwrap();
10
}