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
|
@ -151,7 +151,8 @@ pub fn std(build: &Build, stage: u32, target: &str) {
|
||||||
let mut cargo = build.cargo(&compiler, Mode::Libstd, target, "doc");
|
let mut cargo = build.cargo(&compiler, Mode::Libstd, target, "doc");
|
||||||
cargo.arg("--manifest-path")
|
cargo.arg("--manifest-path")
|
||||||
.arg(build.src.join("src/rustc/std_shim/Cargo.toml"))
|
.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);
|
build.run(&mut cargo);
|
||||||
cp_r(&out_dir, &out)
|
cp_r(&out_dir, &out)
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ links = "jemalloc"
|
||||||
name = "alloc_jemalloc"
|
name = "alloc_jemalloc"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
test = false
|
test = false
|
||||||
|
doc = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
core = { path = "../libcore" }
|
core = { path = "../libcore" }
|
||||||
|
|
|
@ -7,6 +7,7 @@ version = "0.0.0"
|
||||||
name = "alloc_system"
|
name = "alloc_system"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
test = false
|
test = false
|
||||||
|
doc = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
core = { path = "../libcore" }
|
core = { path = "../libcore" }
|
||||||
|
|
|
@ -9,6 +9,7 @@ name = "compiler_builtins"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
test = false
|
test = false
|
||||||
bench = false
|
bench = false
|
||||||
|
doc = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
core = { path = "../libcore" }
|
core = { path = "../libcore" }
|
||||||
|
|
|
@ -7,6 +7,7 @@ version = "0.0.0"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
test = false
|
test = false
|
||||||
bench = false
|
bench = false
|
||||||
|
doc = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
core = { path = "../libcore" }
|
core = { path = "../libcore" }
|
||||||
|
|
|
@ -7,6 +7,7 @@ version = "0.0.0"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
test = false
|
test = false
|
||||||
bench = false
|
bench = false
|
||||||
|
doc = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
alloc = { path = "../liballoc" }
|
alloc = { path = "../liballoc" }
|
||||||
|
|
|
@ -6,6 +6,7 @@ version = "0.0.0"
|
||||||
[lib]
|
[lib]
|
||||||
name = "rand"
|
name = "rand"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
doc = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
core = { path = "../libcore" }
|
core = { path = "../libcore" }
|
||||||
|
|
|
@ -9,6 +9,7 @@ name = "unwind"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
test = false
|
test = false
|
||||||
bench = false
|
bench = false
|
||||||
|
doc = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
core = { path = "../libcore" }
|
core = { path = "../libcore" }
|
||||||
|
|
|
@ -17,6 +17,7 @@ name = "libc"
|
||||||
path = "../../liblibc/src/lib.rs"
|
path = "../../liblibc/src/lib.rs"
|
||||||
test = false
|
test = false
|
||||||
bench = false
|
bench = false
|
||||||
|
doc = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
core = { path = "../../libcore" }
|
core = { path = "../../libcore" }
|
||||||
|
|
|
@ -27,6 +27,7 @@ authors = ["The Rust Project Developers"]
|
||||||
[lib]
|
[lib]
|
||||||
name = "std_shim"
|
name = "std_shim"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
doc = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
std = { path = "../../libstd" }
|
std = { path = "../../libstd" }
|
||||||
|
|
Loading…
Reference in New Issue