-
Notifications
You must be signed in to change notification settings - Fork 2.6k
remove.masquerade_as_nightly_cargo()
from various tests the no longer need it
#10867
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
remove.masquerade_as_nightly_cargo()
from various tests the no longer need it
#10867
Conversation
r? @ehuss (rust-highfive has picked a reviewer for you, use r? to override) |
tests/testsuite/features2.rs
Outdated
// none | ||
// Should be the same as `-Zfeatures=all` | ||
p.cargo("check -Zfeatures=compare") | ||
.masquerade_as_nightly_cargo() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this should change. compare
runs a special mode that compares the new feature resolver against the old.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw -Z features
had been stabilized but missed it in core::features.rs
. It should be fixed now
2bbac7f
to
4bc8fe8
Compare
Thanks! @bors r+ |
☀️ Test successful - checks-actions |
Update cargo 9 commits in 8827baaa781b37872134c1ba692a6f0aeb37890e..d8d30a75376f78bb0fabe3d28ee9d87aa8035309 2022-07-14 02:56:51 +0000 to 2022-07-19 13:59:17 +0000 - docs: fixing minor error in the default timing report filename (rust-lang/cargo#10879) - Stabilize `--crate-type` flag for `cargo rustc` (rust-lang/cargo#10838) - Stabilize `-Zmultitarget` (rust-lang/cargo#10766) - Clean up leftover in unstable documentation (rust-lang/cargo#10874) - Normalize path for `cargo vendor` output (rust-lang/cargo#10668) - add a reason to `masquerade_as_nightly_cargo` so it is searchable (rust-lang/cargo#10868) - Allow '.' in workspace.default-members in non-virtual workspaces. (rust-lang/cargo#10784) - remove`.masquerade_as_nightly_cargo()` from various tests the no longer need it (rust-lang/cargo#10867) - remove `.masquerade_as_nightly_cargo()` from build_script_extra_link_arg.rs (rust-lang/cargo#10866)
When looking at making
.masquerade_as_nightly_cargo()
take in a list of reasons, I found various tests that no longer needed.masquerade_as_nightly_cargo()
. This removes it from all of the offending tests.I tried my best to find all tests that no longer need it but I could have missed one or two.