diff options
| author | flip1995 <hello@philkrones.com> | 2019-11-25 17:23:48 +0100 |
|---|---|---|
| committer | flip1995 <hello@philkrones.com> | 2019-11-25 17:23:48 +0100 |
| commit | d51a80c57e85f6d96c700410f8ba60d94ffaaba8 (patch) | |
| tree | 92e43dbb80450aa61f70ec458fcedcb2c070d596 /rustc_tools_util | |
| parent | 1d3ec29880fc991b2ae2feb62145627651d732f6 (diff) | |
| download | rust-d51a80c57e85f6d96c700410f8ba60d94ffaaba8.tar.gz rust-d51a80c57e85f6d96c700410f8ba60d94ffaaba8.zip | |
Enable deny-warnings feature everywhere in CI
Diffstat (limited to 'rustc_tools_util')
| -rw-r--r-- | rustc_tools_util/Cargo.toml | 4 | ||||
| -rw-r--r-- | rustc_tools_util/src/lib.rs | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/rustc_tools_util/Cargo.toml b/rustc_tools_util/Cargo.toml index 5d37f935375..6f0fc5bee8f 100644 --- a/rustc_tools_util/Cargo.toml +++ b/rustc_tools_util/Cargo.toml @@ -9,4 +9,8 @@ license = "MIT OR Apache-2.0" keywords = ["rustc", "tool", "git", "version", "hash"] categories = ["development-tools"] edition = "2018" + [dependencies] + +[features] +deny-warnings = [] diff --git a/rustc_tools_util/src/lib.rs b/rustc_tools_util/src/lib.rs index 36b58a398dc..ff2a7de5725 100644 --- a/rustc_tools_util/src/lib.rs +++ b/rustc_tools_util/src/lib.rs @@ -1,3 +1,5 @@ +#![cfg_attr(feature = "deny-warnings", deny(warnings))] + use std::env; #[macro_export] |
