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 d28aa99 commit abb09da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ fn format() {
fn hack_feature_powerset_udeps() {
for dir in DIRS {
Command::new("rustup")
.env("RUSTFLAGS", "-D warnings")
// smoelius: `--check-cfg cfg(test)` to work around the following issue:
// https://github.com/est31/cargo-udeps/issues/293
.env("RUSTFLAGS", "-D warnings --check-cfg cfg(test)")
.args([
"run",
"nightly",
Expand Down

0 comments on commit abb09da

Please sign in to comment.