We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2d85e53 + 522533c commit 37dc976Copy full SHA for 37dc976
collector/src/compile/execute/rustc.rs
@@ -117,7 +117,7 @@ async fn record(
117
.env("BOOTSTRAP_SKIP_TARGET_SANITY", "1")
118
.arg("build")
119
.arg("--stage")
120
- .arg("0")
+ .arg("1")
121
// We want bootstrap and the Cargos it spawns to have no parallelism --
122
// if multiple rustcs are competing for jobserver tokens, we introduce
123
// quite a bit of variance.
@@ -144,6 +144,14 @@ async fn record(
144
}
145
146
147
+ // Sanity check
148
+ if timing_data.is_empty() {
149
+ return Err(anyhow::anyhow!(
150
+ "rustc benchmark failed to produce timing data\nSTDOUT:\n{}\n\nSTDERR:{timings}\n",
151
+ String::from_utf8_lossy(&output.stdout)
152
+ ));
153
+ }
154
+
155
let version = get_rustc_perf_commit();
156
let collection = conn.collection_id(&version).await;
157
0 commit comments