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 b49053c commit c608270Copy full SHA for c608270
1 file changed
collector/src/compile/execute/rustc.rs
@@ -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