We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fb9877 commit d7dc01cCopy full SHA for d7dc01c
collector/src/benchmark/mod.rs
@@ -253,15 +253,18 @@ impl Benchmark {
253
for (profile, prep_dir) in &profile_dirs {
254
let server = server.clone();
255
s.spawn::<_, anyhow::Result<()>>(move |_| {
256
+ // Panic the thread if an error occurs to make sure that the whole scope will
257
+ // also panic if there was some error.
258
self.mk_cargo_process(compiler, prep_dir.path(), *profile)
259
.jobserver(server)
- .run_rustc(false)?;
260
+ .run_rustc(false)
261
+ .unwrap();
262
Ok(())
263
});
264
}
265
266
})
- .unwrap()?;
267
+ .expect("Preparation has failed")?;
268
269
for (profile, prep_dir) in profile_dirs {
270
eprintln!("Running {}: {:?} + {:?}", self.name, profile, scenarios);
0 commit comments