File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
collector/src/compile/execute Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ async fn record(
117
117
. env ( "BOOTSTRAP_SKIP_TARGET_SANITY" , "1" )
118
118
. arg ( "build" )
119
119
. arg ( "--stage" )
120
- . arg ( "0 " )
120
+ . arg ( "1 " )
121
121
// We want bootstrap and the Cargos it spawns to have no parallelism --
122
122
// if multiple rustcs are competing for jobserver tokens, we introduce
123
123
// quite a bit of variance.
@@ -144,6 +144,14 @@ async fn record(
144
144
}
145
145
}
146
146
147
+ // Sanity check
148
+ if timing_data. is_empty ( ) {
149
+ return Err ( anyhow:: anyhow!(
150
+ "rustc benchmark failed to produce timing data\n STDOUT:\n {}\n \n STDERR:{timings}\n " ,
151
+ String :: from_utf8_lossy( & output. stdout)
152
+ ) ) ;
153
+ }
154
+
147
155
let version = get_rustc_perf_commit ( ) ;
148
156
let collection = conn. collection_id ( & version) . await ;
149
157
You can’t perform that action at this time.
0 commit comments