Skip to content

Commit

Permalink
Work around est31/cargo-udeps#293
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Jan 6, 2025
1 parent 546ff3a commit 1620e3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cargo-dylint/tests/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ fn duplicate_dependencies() {
#[test]
fn hack_feature_powerset_udeps() {
Command::new("rustup")
.env(env::RUSTFLAGS, "-D warnings")
// smoelius: `--check-cfg cfg(test)` to work around the following issue:
// https://github.com/est31/cargo-udeps/issues/293
.env(env::RUSTFLAGS, "-D warnings --check-cfg cfg(test)")
.args([
"run",
"nightly",
Expand Down

0 comments on commit 1620e3e

Please sign in to comment.