From a302082c2fbeff0403c0abd9bb3931ae3f744b3c Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Fri, 24 Apr 2020 09:45:15 +0200 Subject: Remove deny warnings but forbid then on CI --- .travis.yml | 4 ++++ src/lib.rs | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2f5d563..43df051 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,9 @@ language: rust +env: + global: + - RUSTFLAGS="-D warnings" + before_install: - git clone https://github.com/eldruin/rust-driver-ci-scripts ci - bash ci/before_install.sh diff --git a/src/lib.rs b/src/lib.rs index b5abe4d..8553ab7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -209,7 +209,6 @@ #![deny(unsafe_code)] #![deny(missing_docs)] -#![deny(warnings)] #![no_std] extern crate embedded_hal as hal; -- cgit v1.2.3-54-g00ecf