diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-12-28 10:53:43 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-12-30 10:00:33 -0800 |
| commit | a8535ce9d1045eebf92a477e846b720a08513cd0 (patch) | |
| tree | d4022c1b68c48969f8f3c3f67ce08603eceeee0d /src/bootstrap | |
| parent | 7f2d2afa9196ba6314a29e58d5324dbd9923c75e (diff) | |
| download | rust-a8535ce9d1045eebf92a477e846b720a08513cd0.tar.gz rust-a8535ce9d1045eebf92a477e846b720a08513cd0.zip | |
std: Don't build docs for misc facade crates
Retain the same behavior as stable. Closes #38319
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/doc.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs index 4c4462bf122..d7af12e7f97 100644 --- a/src/bootstrap/doc.rs +++ b/src/bootstrap/doc.rs @@ -151,7 +151,8 @@ pub fn std(build: &Build, stage: u32, target: &str) { let mut cargo = build.cargo(&compiler, Mode::Libstd, target, "doc"); cargo.arg("--manifest-path") .arg(build.src.join("src/rustc/std_shim/Cargo.toml")) - .arg("--features").arg(build.std_features()); + .arg("--features").arg(build.std_features()) + .arg("-p").arg("std"); build.run(&mut cargo); cp_r(&out_dir, &out) } |
