From 684790f8e2f5aa9038733787253ffdcad779fb9f Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 13 Mar 2017 10:15:36 -0700 Subject: [PATCH] Cap lints for upstream deps with `-vv` Previously with `-vv` Cargo didn't pass `--cap-lints` at all, but with upstream dependencies we still want to pass at least `--cap-lints warn` to make sure that they're all still compiling. Closes #3823 --- src/cargo/ops/cargo_rustc/mod.rs | 12 ++++++++++++ tests/registry.rs | 27 +++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/src/cargo/ops/cargo_rustc/mod.rs b/src/cargo/ops/cargo_rustc/mod.rs index 14ebcc28c..0cac00a95 100644 --- a/src/cargo/ops/cargo_rustc/mod.rs +++ b/src/cargo/ops/cargo_rustc/mod.rs @@ -249,12 +249,24 @@ fn rustc(cx: &mut Context, unit: &Unit, exec: Arc) -> CargoResult