about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-09-24 12:51:18 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-10-01 15:38:16 -0500
commit513fc80bbd3b13eddc20b4822ed25b05d7f55194 (patch)
treeff42fc615d2cff2fee00da85fb32b6611433ca3e /src/bootstrap
parentcdb76db493fa5e0382b18ecd9f8da7ef00ceb951 (diff)
downloadrust-513fc80bbd3b13eddc20b4822ed25b05d7f55194.tar.gz
rust-513fc80bbd3b13eddc20b4822ed25b05d7f55194.zip
Package `rust-docs-json` into nightly components (take 3)
`dist` creates a `rust-docs-json.tar.xz` tarfile. But build-manifest expected it to be named
`rust-docs-json-preview.tar.xz`. Change build-manifest to allow the name without the `-preview` suffix.

This also adds `rust-docs-json` to the `rust` component. I'm not quite sure why it exists,
but rustup uses it to determine which components are available.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/dist.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
index 563e67a326f..a9a9be9950f 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -1365,6 +1365,7 @@ impl Step for Extended {
         }
 
         add_component!("rust-docs" => Docs { host: target });
+        add_component!("rust-json-docs" => JsonDocs { host: target });
         add_component!("rust-demangler"=> RustDemangler { compiler, target });
         add_component!("cargo" => Cargo { compiler, target });
         add_component!("rustfmt" => Rustfmt { compiler, target });