michael-temp

Results 5 comments of michael-temp

Ok I solved by adding `println!("cargo:rustc-link-arg=-fopenmp");` to `build.rs`

Hi it was Ubuntu 20.04.5 LTS Note I had to add the command to the build.rs of the final crate, it was not enough to add it to the internal...

My code looks like: ```rust if let Ok((i, Ok(..))) = notifiers .iter_mut() .enumerate() .map(|(i, notifier)| async move { (i, notifier.receiver.recv().await) }) .collect_vec() .race() .timeout(Duration::from_millis(500)) .await { has_update[i] = true; }...

I suspect its an empty vec issue like #153 :)

In case it helps ```rust #[tokio::test] // #[ignore] async fn test_race_empty_vec() -> Result { // https://github.com/yoshuawuyts/futures-concurrency/issues/156 _ = Vec::::new().race().timeout(DurationF::from_millis(500)).await; Ok(()) } ```