-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warning: unexpected cfg
condition name: test
#293
Comments
This PR's merger appears to be the problem: rust-lang/rust#131729 |
As a workaround, I suppose one can pin the nightly to from before that PR merged (say Until then, I suppose we can just add the flag ourselves, there is infrastructure for that. Alternatively one can request from upstream to have the rustc changes reverted until it arrives in cargo stable. |
Fixed by 4a3d71a . Thanks for the report. I'll do a release in the coming day(s). |
Very recently, I started seeing the above warning running
cargo +nightly udeps
.To reproduce, create a lib.rs file with the following contents:
Running
cargo +nightly udeps
, I see the following warning:I don't know whether this is helpful, but here are the
rustc
commands I see used bycargo +nightly check
andcargo +nightly udeps
(respectively). Note the difference in the--check-cfg
options.The text was updated successfully, but these errors were encountered: