-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Remove feature
from the list of well known check-cfg name
#118071
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
5b41fac
to
3fda3ef
Compare
@bors r+ |
I don't understand full implications of the Miri change though. |
It's unfortunately required, and the reason it is, is because of Cargo not passing Ignoring |
🔒 Merge conflict This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again. How do I rebase?Assuming
You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial. Please avoid the "Resolve conflicts" button on GitHub. It uses Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Error message
|
When building the standard library with Miri, it appears that cargo-miri does not respect the RUSTFLAGS and even if they did it would be wrong since they are created for ToolRustc not Std. To avoid errors ignore RUSTC_HOST_FLAGS for Miri.
3fda3ef
to
54c122e
Compare
@rustbot ready |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (855c683): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 676.862s -> 677.73s (0.13%) |
This PR removes
feature
from the list of well known check-cfg.This is done for multiple reasons:
In this case Cargo won't pass any
--check-cfg
forfeature
since no feature will ever be passed, but rustc by having in it's list adds a implicitcfg(feature, values(any()))
which is completely wrong. Having any cfgfeature
is unexpected not allow anyfeature
value.While doing this, I took the opportunity to specialise the diagnostic a bit for the case above.
r? @petrochenkov