File tree 1 file changed +9
-2
lines changed
src/cargo/core/compiler/job_queue
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -806,8 +806,15 @@ impl<'cfg> DrainState<'cfg> {
806
806
// `display_error` inside `handle_error`.
807
807
Some ( anyhow:: Error :: new ( AlreadyPrintedError :: new ( error) ) )
808
808
} else if self . queue . is_empty ( ) && self . pending_queue . is_empty ( ) {
809
- let message =
810
- format ! ( "`{profile_name}` profile [{opt_type}] target(s) in {time_elapsed}" , ) ;
809
+ let profile_link =
810
+ cx. bcx . config . shell ( ) . err_hyperlink (
811
+ "https://doc.rust-lang.org/cargo/reference/profiles.html#profiles" ,
812
+ ) ;
813
+ let message = format ! (
814
+ "{}`{profile_name}` profile [{opt_type}]{} target(s) in {time_elapsed}" ,
815
+ profile_link. open( ) ,
816
+ profile_link. close( )
817
+ ) ;
811
818
if !cx. bcx . build_config . build_plan {
812
819
// It doesn't really matter if this fails.
813
820
let _ = cx. bcx . config . shell ( ) . status ( "Finished" , message) ;
You can’t perform that action at this time.
0 commit comments