std: Don't build docs for misc facade crates
Retain the same behavior as stable. Closes #38319
This commit is contained in:
parent
7f2d2afa91
commit
a8535ce9d1
10 changed files with 11 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@ links = "jemalloc"
|
|||
name = "alloc_jemalloc"
|
||||
path = "lib.rs"
|
||||
test = false
|
||||
doc = false
|
||||
|
||||
[dependencies]
|
||||
core = { path = "../libcore" }
|
||||
|
|
|
@ -7,6 +7,7 @@ version = "0.0.0"
|
|||
name = "alloc_system"
|
||||
path = "lib.rs"
|
||||
test = false
|
||||
doc = false
|
||||
|
||||
[dependencies]
|
||||
core = { path = "../libcore" }
|
||||
|
|
|
@ -9,6 +9,7 @@ name = "compiler_builtins"
|
|||
path = "lib.rs"
|
||||
test = false
|
||||
bench = false
|
||||
doc = false
|
||||
|
||||
[dependencies]
|
||||
core = { path = "../libcore" }
|
||||
|
|
|
@ -7,6 +7,7 @@ version = "0.0.0"
|
|||
path = "lib.rs"
|
||||
test = false
|
||||
bench = false
|
||||
doc = false
|
||||
|
||||
[dependencies]
|
||||
core = { path = "../libcore" }
|
||||
|
|
|
@ -7,6 +7,7 @@ version = "0.0.0"
|
|||
path = "lib.rs"
|
||||
test = false
|
||||
bench = false
|
||||
doc = false
|
||||
|
||||
[dependencies]
|
||||
alloc = { path = "../liballoc" }
|
||||
|
|
|
@ -6,6 +6,7 @@ version = "0.0.0"
|
|||
[lib]
|
||||
name = "rand"
|
||||
path = "lib.rs"
|
||||
doc = false
|
||||
|
||||
[dependencies]
|
||||
core = { path = "../libcore" }
|
||||
|
|
|
@ -9,6 +9,7 @@ name = "unwind"
|
|||
path = "lib.rs"
|
||||
test = false
|
||||
bench = false
|
||||
doc = false
|
||||
|
||||
[dependencies]
|
||||
core = { path = "../libcore" }
|
||||
|
|
|
@ -17,6 +17,7 @@ name = "libc"
|
|||
path = "../../liblibc/src/lib.rs"
|
||||
test = false
|
||||
bench = false
|
||||
doc = false
|
||||
|
||||
[dependencies]
|
||||
core = { path = "../../libcore" }
|
||||
|
|
|
@ -27,6 +27,7 @@ authors = ["The Rust Project Developers"]
|
|||
[lib]
|
||||
name = "std_shim"
|
||||
path = "lib.rs"
|
||||
doc = false
|
||||
|
||||
[dependencies]
|
||||
std = { path = "../../libstd" }
|
||||
|
|
Loading…
Add table
Reference in a new issue