Disable util crate doctests

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.
This commit is contained in:
Martin Robinson 2015-01-16 10:04:15 -08:00
parent 432b89f60f
commit 09c9343294

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"