File tree 1 file changed +7
-2
lines changed
src/bootstrap/src/core/build_steps
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -146,15 +146,20 @@ impl<P: Step> Step for RustbookSrc<P> {
146
146
let out = out. join ( & name) ;
147
147
let index = out. join ( "index.html" ) ;
148
148
let rustbook = builder. tool_exe ( Tool :: Rustbook ) ;
149
- let mut rustbook_cmd = builder. tool_cmd ( Tool :: Rustbook ) ;
150
149
151
150
if !builder. config . dry_run ( )
152
151
&& ( !up_to_date ( & src, & index) || !up_to_date ( & rustbook, & index) )
153
152
{
154
153
builder. info ( & format ! ( "Rustbook ({target}) - {name}" ) ) ;
155
154
let _ = fs:: remove_dir_all ( & out) ;
156
155
157
- rustbook_cmd. arg ( "build" ) . arg ( & src) . arg ( "-d" ) . arg ( & out) . run ( builder) ;
156
+ builder
157
+ . tool_cmd ( Tool :: Rustbook )
158
+ . arg ( "build" )
159
+ . arg ( & src)
160
+ . arg ( "-d" )
161
+ . arg ( & out)
162
+ . run ( builder) ;
158
163
159
164
for lang in & self . languages {
160
165
let out = out. join ( lang) ;
You can’t perform that action at this time.
0 commit comments