Skip to content

Commit

Permalink
Auto merge of #5405 - dwijnand:contributing-lint-overrides, r=matklad
Browse files Browse the repository at this point in the history
Detail how to override lint warnings when compiling tests

alternative to #5403
  • Loading branch information
bors committed Apr 22, 2018
2 parents cbedd29 + 63b72f8 commit 65e690a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ assert_that(
Alternatively to build and run a custom version of cargo simply run `cargo build`
and execute `target/debug/cargo`.

Because the test suite has `#![deny(warnings)]` at times you might find it
convenient to override this with `RUSTFLAGS`, for example
`RUSTFLAGS="--cap-lints warn" cargo build`.

## Logging

Cargo uses [`env_logger`](https://docs.rs/env_logger/*/env_logger/), so you can set
Expand Down

0 comments on commit 65e690a

Please sign in to comment.