Skip to content

Commit e2bda1a

Browse files
committed
deny warnings only on nightly
lints have changed between nightly and stable
1 parent 1e04df6 commit e2bda1a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/script.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
set -euxo pipefail
22

33
main() {
4+
if [ $TRAVIS_RUST_VERSION = nightly ]; then
5+
export RUSTFLAGS="-D warnings"
6+
fi
7+
48
cargo check --target $TARGET
59

610
if [ $TRAVIS_RUST_VERSION = nightly ]; then

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
3333
#![cfg_attr(feature = "inline-asm", feature(asm))]
3434
#![deny(missing_docs)]
35-
#![deny(warnings)]
3635
#![no_std]
3736

3837
extern crate aligned;

0 commit comments

Comments
 (0)