@@ -184,7 +184,7 @@ static PKG_INSTALLERS: &[&str] = &["x86_64-apple-darwin", "aarch64-apple-darwin"
184184
185185static MINGW : & [ & str ] = & [ "i686-pc-windows-gnu" , "x86_64-pc-windows-gnu" ] ;
186186
187- static NIGHTLY_ONLY_COMPONENTS : & [ & str ] = & [ "miri-preview" ] ;
187+ static NIGHTLY_ONLY_COMPONENTS : & [ & str ] = & [ "miri-preview" , "rust-docs-json-preview" ] ;
188188
189189macro_rules! t {
190190 ( $e: expr) => {
@@ -318,6 +318,7 @@ impl Builder {
318318 package ! ( "rust-mingw" , MINGW ) ;
319319 package ! ( "rust-std" , TARGETS ) ;
320320 self . package ( "rust-docs" , & mut manifest. pkg , HOSTS , DOCS_FALLBACK ) ;
321+ self . package ( "rust-docs-json-preview" , & mut manifest. pkg , HOSTS , DOCS_FALLBACK ) ;
321322 package ! ( "rust-src" , & [ "*" ] ) ;
322323 package ! ( "rls-preview" , HOSTS ) ;
323324 package ! ( "rust-analyzer-preview" , HOSTS ) ;
@@ -403,6 +404,7 @@ impl Builder {
403404 rename ( "rustfmt" , "rustfmt-preview" ) ;
404405 rename ( "clippy" , "clippy-preview" ) ;
405406 rename ( "miri" , "miri-preview" ) ;
407+ rename ( "rust-docs-json" , "rust-docs-json-preview" ) ;
406408 rename ( "rust-analyzer" , "rust-analyzer-preview" ) ;
407409 }
408410
@@ -459,6 +461,7 @@ impl Builder {
459461 host_component( "rustfmt-preview" ) ,
460462 host_component( "llvm-tools-preview" ) ,
461463 host_component( "rust-analysis" ) ,
464+ host_component( "rust-docs-json" ) ,
462465 ] ) ;
463466
464467 extensions. extend (
0 commit comments