File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/cargo/core/compiler/job_queue Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -806,8 +806,14 @@ 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 = cx. bcx . config . shell ( ) . err_hyperlink (
810
+ "https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles" ,
811
+ ) ;
812
+ let message = format ! (
813
+ "{}`{profile_name}` profile [{opt_type}]{} target(s) in {time_elapsed}" ,
814
+ profile_link. open( ) ,
815
+ profile_link. close( )
816
+ ) ;
811
817
if !cx. bcx . build_config . build_plan {
812
818
// It doesn't really matter if this fails.
813
819
let _ = cx. bcx . config . shell ( ) . status ( "Finished" , message) ;
You can’t perform that action at this time.
0 commit comments