Detail how to override lint warnings when compiling tests
authorDale Wijnand <dale.wijnand@gmail.com>
Sun, 22 Apr 2018 16:35:47 +0000 (17:35 +0100)
committerDale Wijnand <dale.wijnand@gmail.com>
Sun, 22 Apr 2018 16:35:47 +0000 (17:35 +0100)
ARCHITECTURE.md

index b749218c3495004d7a95d4aca47630ea646c38f7..68d06ff66e9fb668c32fd5a0d06cacc472399884 100644 (file)
@@ -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