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 1eb2656 commit c8b1440Copy full SHA for c8b1440
collector/src/runtime/benchmark.rs
@@ -135,7 +135,16 @@ pub struct BenchmarkSuiteCompilation {
135
136
impl BenchmarkSuiteCompilation {
137
pub fn extract_suite(self) -> BenchmarkSuite {
138
- assert!(self.failed_to_compile.is_empty());
+ use std::fmt::Write;
139
+
140
+ if !self.failed_to_compile.is_empty() {
141
+ let mut message =
142
+ "Cannot extract runtime suite because of compilation errors:\n".to_string();
143
+ for (group, error) in self.failed_to_compile {
144
+ writeln!(message, "{group}\n{error}\n").unwrap();
145
+ }
146
+ panic!("{message}");
147
148
self.suite
149
}
150
0 commit comments