diff --git a/necessist/tests/ci.rs b/necessist/tests/ci.rs index 6f5678bd..59a6df20 100644 --- a/necessist/tests/ci.rs +++ b/necessist/tests/ci.rs @@ -334,6 +334,9 @@ fn unmaintained() { fn clippy_command(cargo_args: &[&str], rustc_args: &[&str]) -> Command { let mut command = Command::new("cargo"); + // smoelius: Remove `CARGO` environment variable to work around: + // https://github.com/rust-lang/rust/pull/131729 + command.env_remove("CARGO"); command .args(["+nightly", "clippy", "--all-features", "--all-targets"]) .args(cargo_args)