From 09c9343294deb41b5661af06ef7c0b112d10a337 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Fri, 16 Jan 2015 10:04:15 -0800 Subject: [PATCH] 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. --- components/util/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/util/Cargo.toml b/components/util/Cargo.toml index 87969f90af7..c418d0b2880 100644 --- a/components/util/Cargo.toml +++ b/components/util/Cargo.toml @@ -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"