@@ -184,7 +184,7 @@ static PKG_INSTALLERS: &[&str] = &["x86_64-apple-darwin", "aarch64-apple-darwin"
184
184
185
185
static MINGW : & [ & str ] = & [ "i686-pc-windows-gnu" , "x86_64-pc-windows-gnu" ] ;
186
186
187
- static NIGHTLY_ONLY_COMPONENTS : & [ & str ] = & [ "miri-preview" ] ;
187
+ static NIGHTLY_ONLY_COMPONENTS : & [ & str ] = & [ "miri-preview" , "rust-docs-json-preview" ] ;
188
188
189
189
macro_rules! t {
190
190
( $e: expr) => {
@@ -318,6 +318,7 @@ impl Builder {
318
318
package ! ( "rust-mingw" , MINGW ) ;
319
319
package ! ( "rust-std" , TARGETS ) ;
320
320
self . package ( "rust-docs" , & mut manifest. pkg , HOSTS , DOCS_FALLBACK ) ;
321
+ self . package ( "rust-docs-json-preview" , & mut manifest. pkg , HOSTS , DOCS_FALLBACK ) ;
321
322
package ! ( "rust-src" , & [ "*" ] ) ;
322
323
package ! ( "rls-preview" , HOSTS ) ;
323
324
package ! ( "rust-analyzer-preview" , HOSTS ) ;
@@ -403,6 +404,7 @@ impl Builder {
403
404
rename ( "rustfmt" , "rustfmt-preview" ) ;
404
405
rename ( "clippy" , "clippy-preview" ) ;
405
406
rename ( "miri" , "miri-preview" ) ;
407
+ rename ( "rust-docs-json" , "rust-docs-json-preview" ) ;
406
408
rename ( "rust-analyzer" , "rust-analyzer-preview" ) ;
407
409
}
408
410
@@ -459,6 +461,7 @@ impl Builder {
459
461
host_component( "rustfmt-preview" ) ,
460
462
host_component( "llvm-tools-preview" ) ,
461
463
host_component( "rust-analysis" ) ,
464
+ host_component( "rust-docs-json" ) ,
462
465
] ) ;
463
466
464
467
extensions. extend (
0 commit comments