File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,14 @@ impl Build {
243243 // Almost all of these are simple one-liners that shell out to the
244244 // corresponding functionality in the extra modules, where more
245245 // 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 {
247254 let doc_out = self . out . join ( & target. target ) . join ( "doc" ) ;
248255 match target. src {
249256 Llvm { _dummy } => {
Original file line number Diff line number Diff line change @@ -171,6 +171,8 @@ targets!(define_source);
171171/// into a topologically sorted list which when executed left-to-right will
172172/// correctly sequence the entire build.
173173pub fn all ( build : & Build ) -> Vec < Step > {
174+ build. verbose ( "inferred build steps:" ) ;
175+
174176 let mut ret = Vec :: new ( ) ;
175177 let mut all = HashSet :: new ( ) ;
176178 for target in top_level ( build) {
@@ -184,6 +186,7 @@ pub fn all(build: &Build) -> Vec<Step> {
184186 set : & mut HashSet < Step < ' a > > ) {
185187 if set. insert ( target. clone ( ) ) {
186188 for dep in target. deps ( build) {
189+ build. verbose ( & format ! ( "{:?}\n -> {:?}" , target, dep) ) ;
187190 fill ( build, & dep, ret, set) ;
188191 }
189192 ret. push ( target. clone ( ) ) ;
You can’t perform that action at this time.
0 commit comments