File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,9 @@ impl Step for Standalone {
313
313
}
314
314
315
315
let mut cmd = builder. rustdoc_cmd ( compiler) ;
316
+ // Needed for --index-page flag
317
+ cmd. arg ( "-Z" ) . arg ( "unstable-options" ) ;
318
+
316
319
cmd. arg ( "--html-after-content" )
317
320
. arg ( & footer)
318
321
. arg ( "--html-before-content" )
@@ -395,7 +398,7 @@ impl Step for Std {
395
398
396
399
// Keep a whitelist so we do not build internal stdlib crates, these will be
397
400
// build by the rustc step later if enabled.
398
- cargo. arg ( "-Z" ) . arg ( "unstable-options" ) . arg ( "- p") . arg ( package) ;
401
+ cargo. arg ( "-p" ) . arg ( package) ;
399
402
// Create all crate output directories first to make sure rustdoc uses
400
403
// relative links.
401
404
// FIXME: Cargo should probably do this itself.
@@ -406,6 +409,8 @@ impl Step for Std {
406
409
. arg ( "rust.css" )
407
410
. arg ( "--markdown-no-toc" )
408
411
. arg ( "--generate-redirect-pages" )
412
+ . arg ( "-Z" )
413
+ . arg ( "unstable-options" )
409
414
. arg ( "--resource-suffix" )
410
415
. arg ( crate :: channel:: CFG_RELEASE_NUM )
411
416
. arg ( "--index-page" )
You can’t perform that action at this time.
0 commit comments