about summary refs log tree commit diff
path: root/src/rustc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-12-28 10:53:43 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-12-30 10:00:33 -0800
commita8535ce9d1045eebf92a477e846b720a08513cd0 (patch)
treed4022c1b68c48969f8f3c3f67ce08603eceeee0d /src/rustc
parent7f2d2afa9196ba6314a29e58d5324dbd9923c75e (diff)
downloadrust-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/rustc')
-rw-r--r--src/rustc/libc_shim/Cargo.toml1
-rw-r--r--src/rustc/std_shim/Cargo.toml1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/rustc/libc_shim/Cargo.toml b/src/rustc/libc_shim/Cargo.toml
index e501766fbed..39df3528be3 100644
--- a/src/rustc/libc_shim/Cargo.toml
+++ b/src/rustc/libc_shim/Cargo.toml
@@ -17,6 +17,7 @@ name = "libc"
 path = "../../liblibc/src/lib.rs"
 test = false
 bench = false
+doc = false
 
 [dependencies]
 core = { path = "../../libcore" }
diff --git a/src/rustc/std_shim/Cargo.toml b/src/rustc/std_shim/Cargo.toml
index 18680dc4fd9..1fa91772435 100644
--- a/src/rustc/std_shim/Cargo.toml
+++ b/src/rustc/std_shim/Cargo.toml
@@ -27,6 +27,7 @@ authors = ["The Rust Project Developers"]
 [lib]
 name = "std_shim"
 path = "lib.rs"
+doc = false
 
 [dependencies]
 std = { path = "../../libstd" }