Skip to content

Commit

Permalink
Merge pull request #325 from mozilla/warnings-break-build-324
Browse files Browse the repository at this point in the history
Make Rust warnings break the build
  • Loading branch information
rfk authored Oct 13, 2020
2 parents 39fadca + 076d1ad commit d8285ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
resource_class: medium
steps:
- run: cat ~/.profile >> $BASH_ENV
- run:
name: "Set RUSTFLAGS to fail the build if there are warnings"
command: echo 'export RUSTFLAGS="-D warnings"' >> $BASH_ENV
- checkout
- run: cargo test
Deploy website:
Expand Down

0 comments on commit d8285ec

Please sign in to comment.