#[cpu_core]
Run test case when cpu core enough
#[cfg(test)] mod tests { // Only works with enough cpu core #[test_with::cpu_core(32)] #[test] fn test_ignored() { panic!("should be ignored") } }