servo: Merge #4643 - Disable util crate doctests (from mrobinson:disable-util-doctests); r=jdm

Because of bug in rustdoc, a new rust-layers dependency on rust-azure
will cause linking issues. See
https://github.com/rust-lang/rust/issues/21246 for details.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6d7c4aac9c81f909d47dce10fa898e2a420632b2
This commit is contained in:
Martin Robinson 2015-01-16 11:09:46 -07:00
parent 5772e5d785
commit b84f267138

View File

@ -7,6 +7,14 @@ authors = ["The Servo Project Developers"]
name = "util"
path = "lib.rs"
# Disable doctests, because of linking issues with rustdoc. rustdoc compiles
# documentation tests with prefer-dynamic. This causes issues because rustc
# looks for -lazure, which does not exist (rust-azure is a dependency of
# rust-layers). This crate only has one documentation example anyway and it's
# imported from the rust-lang codebase.
# See https://github.com/rust-lang/rust/issues/21246
doctest = false
[dependencies.plugins]
path = "../plugins"