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