@@ -74,20 +74,14 @@ pub enum LogMessage {
7474 } ,
7575 /// Emitted when a compilation unit starts.
7676 UnitStarted {
77- /// Package ID specification.
78- package_id : PackageIdSpec ,
79- /// Cargo target (lib, bin, example, etc.).
80- target : Target ,
81- /// The compilation action this unit is for (check, build, test, etc.).
82- mode : CompileMode ,
83- /// Unit index for compact reference in subsequent events.
77+ /// Unit index from the associated unit-registered event.
8478 index : u64 ,
8579 /// Seconds elapsed from build start.
8680 elapsed : f64 ,
8781 } ,
8882 /// Emitted when a section (e.g., rmeta, link) of the compilation unit finishes.
8983 UnitRmetaFinished {
90- /// Unit index from the associated unit-started event.
84+ /// Unit index from the associated unit-registered event.
9185 index : u64 ,
9286 /// Seconds elapsed from build start.
9387 elapsed : f64 ,
@@ -99,7 +93,7 @@ pub enum LogMessage {
9993 ///
10094 /// Requires `-Zsection-timings` to be enabled.
10195 UnitSectionStarted {
102- /// Unit index from the associated unit-started event.
96+ /// Unit index from the associated unit-registered event.
10397 index : u64 ,
10498 /// Seconds elapsed from build start.
10599 elapsed : f64 ,
@@ -110,7 +104,7 @@ pub enum LogMessage {
110104 ///
111105 /// Requires `-Zsection-timings` to be enabled.
112106 UnitSectionFinished {
113- /// Unit index from the associated unit-started event.
107+ /// Unit index from the associated unit-registered event.
114108 index : u64 ,
115109 /// Seconds elapsed from build start.
116110 elapsed : f64 ,
@@ -119,7 +113,7 @@ pub enum LogMessage {
119113 } ,
120114 /// Emitted when a compilation unit finishes.
121115 UnitFinished {
122- /// Unit index from the associated unit-started event.
116+ /// Unit index from the associated unit-registered event.
123117 index : u64 ,
124118 /// Seconds elapsed from build start.
125119 elapsed : f64 ,
0 commit comments