File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed
bootstrap/src/core/build_steps Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -575,6 +575,31 @@ impl Step for SharedAssets {
575
575
FileType :: Regular ,
576
576
) ;
577
577
578
+ builder. copy_link (
579
+ & builder
580
+ . src
581
+ . join ( "src" )
582
+ . join ( "librustdoc" )
583
+ . join ( "html" )
584
+ . join ( "static" )
585
+ . join ( "images" )
586
+ . join ( "favicon.svg" ) ,
587
+ & out. join ( "favicon.svg" ) ,
588
+ FileType :: Regular ,
589
+ ) ;
590
+ builder. copy_link (
591
+ & builder
592
+ . src
593
+ . join ( "src" )
594
+ . join ( "librustdoc" )
595
+ . join ( "html" )
596
+ . join ( "static" )
597
+ . join ( "images" )
598
+ . join ( "favicon-32x32.png" ) ,
599
+ & out. join ( "favicon-32x32.png" ) ,
600
+ FileType :: Regular ,
601
+ ) ;
602
+
578
603
SharedAssetsPaths { version_info }
579
604
}
580
605
}
Original file line number Diff line number Diff line change 1
- < link rel ="icon " href ="https://www.rust-lang.org/favicon.ico ">
1
+ < link rel ="alternate icon " type ="image/png " href ="favicon-32x32.png ">
2
+ < link rel ="icon " type ="image/svg+xml " href ="favicon.svg ">
Original file line number Diff line number Diff line change 1
1
< meta name ="robots " content ="noindex,follow ">
2
- < link rel ="icon " href ="https://www.rust-lang.org/favicon.ico ">
2
+ < link rel ="alternate icon " type ="image/png " href ="../favicon-32x32.png ">
3
+ < link rel ="icon " type ="image/svg+xml " href ="../favicon.svg ">
You can’t perform that action at this time.
0 commit comments