Relax #[deny(warnings)] in some crate for cargotest
Otherwise changes to the compiler are unable to introduce new warnings: some crates tested by cargotest deny all warnings and thus, the CI build fails. Thanks SimonSapin for the patch!
This commit is contained in:
parent
deb7360fa7
commit
ea55596d5b
1 changed files with 2 additions and 0 deletions
|
@ -165,6 +165,8 @@ fn run_cargo_test(cargo_path: &Path, crate_path: &Path, packages: &[&str]) -> bo
|
|||
let status = command
|
||||
// Disable rust-lang/cargo's cross-compile tests
|
||||
.env("CFG_DISABLE_CROSS_TESTS", "1")
|
||||
// Relax #![deny(warnings)] in some crates
|
||||
.env("RUSTFLAGS", "--cap-lints warn")
|
||||
.current_dir(crate_path)
|
||||
.status()
|
||||
.expect("");
|
||||
|
|
Loading…
Reference in a new issue