1 use rayon_core::ThreadPoolBuilder; 2 3 #[test] 4 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] init_zero_threads()5fn init_zero_threads() { 6 ThreadPoolBuilder::new() 7 .num_threads(0) 8 .build_global() 9 .unwrap(); 10 } 11