File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,14 @@ impl Build {
243
243
// Almost all of these are simple one-liners that shell out to the
244
244
// corresponding functionality in the extra modules, where more
245
245
// documentation can be found.
246
- for target in step:: all ( self ) {
246
+ let steps = step:: all ( self ) ;
247
+
248
+ self . verbose ( "bootstrap build plan:" ) ;
249
+ for step in & steps {
250
+ self . verbose ( & format ! ( "{:?}" , step) ) ;
251
+ }
252
+
253
+ for target in steps {
247
254
let doc_out = self . out . join ( & target. target ) . join ( "doc" ) ;
248
255
match target. src {
249
256
Llvm { _dummy } => {
Original file line number Diff line number Diff line change @@ -171,6 +171,8 @@ targets!(define_source);
171
171
/// into a topologically sorted list which when executed left-to-right will
172
172
/// correctly sequence the entire build.
173
173
pub fn all ( build : & Build ) -> Vec < Step > {
174
+ build. verbose ( "inferred build steps:" ) ;
175
+
174
176
let mut ret = Vec :: new ( ) ;
175
177
let mut all = HashSet :: new ( ) ;
176
178
for target in top_level ( build) {
@@ -184,6 +186,7 @@ pub fn all(build: &Build) -> Vec<Step> {
184
186
set : & mut HashSet < Step < ' a > > ) {
185
187
if set. insert ( target. clone ( ) ) {
186
188
for dep in target. deps ( build) {
189
+ build. verbose ( & format ! ( "{:?}\n -> {:?}" , target, dep) ) ;
187
190
fill ( build, & dep, ret, set) ;
188
191
}
189
192
ret. push ( target. clone ( ) ) ;
You can’t perform that action at this time.
0 commit comments