@@ -64,22 +64,19 @@ function getClass(a: number | undefined, b: number | undefined): string {
64
64
65
65
function generateTitle(component : string ): string {
66
66
if (component === " rustc" ) {
67
- return ` Main binary of the Rust compiler. It is a small shim that links to librustc_driver.so,
68
- which contains most of the compiler logic. ` ;
67
+ return ` Executable of the Rust compiler. A small wrapper that links to librustc_driver.so, which provides most of the compiler logic. ` ;
69
68
} else if (component === " rustdoc" ) {
70
- return ` Tool that generates documentation of Rust crates. Links to librustc_driver.so, which provides
71
- most of the compiler logic. ` ;
69
+ return ` Executable of rustdoc. Links to librustc_driver.so, which provides most of the compiler logic. ` ;
72
70
} else if (component === " cargo" ) {
73
- return " Build tool that compiles crates and their dependencies ." ;
71
+ return " Executable of cargo ." ;
74
72
} else if (component === " librustc_driver" ) {
75
- return ` Shared library which contains the core implementation of the compiler. It is used by several
76
- other tools and binaries. ` ;
73
+ return ` Shared library containing the core implementation of the compiler. It is used by several other tools and binaries. ` ;
77
74
} else if (component === " libLLVM" ) {
78
- return ` LLVM codegen backend that is used by librustc_driver.so to emit optimized assembly . ` ;
75
+ return ` Shared library of the LLVM codegen backend. It is used by librustc_driver.so.` ;
79
76
} else if (component === " libstd" ) {
80
- return ` The Rust standard library.` ;
77
+ return ` Shared library containing the Rust standard library. It is used by librustc_driver.so .` ;
81
78
} else if (component === " libtest" ) {
82
- return ` Library that contains implementation of the default test harness used by Rust programs .` ;
79
+ return ` Shared library containing the Rust test harness.` ;
83
80
} else {
84
81
return " " ; // Unknown component
85
82
}
@@ -102,6 +99,7 @@ function generateTitle(component: string): string {
102
99
<tr v-for =" component in components" >
103
100
<td class =" component" :title =" generateTitle(component)" >
104
101
{{ formatName(component) }}
102
+ <Tooltip >{{ generateTitle(component) }}</Tooltip >
105
103
</td >
106
104
<td >
107
105
<div class =" aligned" >
0 commit comments