File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
crates/cargo-codspeed/src Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,16 @@ impl BuildOptions<'_> {
4343
4444 let mut built_benches = Vec :: new ( ) ;
4545 for message in Message :: parse_stream ( reader) {
46- if let Message :: CompilerArtifact ( artifact) =
47- message. expect ( "Failed to parse compiler message" )
48- {
49- if artifact. target . is_kind ( TargetKind :: Bench ) {
46+ match message. expect ( "Failed to parse message" ) {
47+ Message :: CompilerMessage ( msg) => {
48+ println ! ( "{}" , & msg. message) ;
49+ }
50+ Message :: TextLine ( line) => {
51+ println ! ( "{}" , line) ;
52+ }
53+ Message :: CompilerArtifact ( artifact)
54+ if artifact. target . is_kind ( TargetKind :: Bench ) =>
55+ {
5056 let package = workspace_packages
5157 . iter ( )
5258 . find ( |p| p. id == artifact. package_id )
@@ -71,6 +77,7 @@ impl BuildOptions<'_> {
7177 } ) ;
7278 }
7379 }
80+ _ => { }
7481 }
7582 }
7683
You can’t perform that action at this time.
0 commit comments