-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Revert "bootstrap: Get rid of tail_args
in stream_cargo
"
#106387
Conversation
The error this fixes:
|
r=me if we want to fix this, but it's not clear to me why the change didn't work. |
@Mark-Simulacrum We might be able to pass those using environment variables instead? But I think it will break caching for std, since RUSTFLAGS applies to dependencies and not just crates in the workspace. |
@bors r=Mark-Simulacrum |
📌 Commit 6f00f08cfb402f41ca7bc78fb1c0e63100995464 has been approved by It is now in the queue for this repository. |
Ah, I see. I guess it could get passed via RUSTFLAGS (CLIPPYFLAGS?) in the same way we pass other lint arguments, but this seems fine for now. The caching does seem hard. Maybe we can always pass clippy flags; doesn't rustc just ignore them? |
No, unfortunately, cargo gives a hard error unless you use
|
Oh, you meant with RUSTFLAGS. Yes, that would work:
|
☔ The latest upstream changes (presumably #105609) made this pull request unmergeable. Please resolve the merge conflicts. |
6f00f08
to
f30698a
Compare
Rebased - I haven't reapproved on your behalf in case you want me to use RUSTFLAGS instead of tail_args. |
This comment has been minimized.
This comment has been minimized.
This reverts commit 9dfe504. Fixes `x clippy`.
f30698a
to
23d3ee8
Compare
I'm not worried about doing that as part of this PR. @bors r+ |
Rollup of 9 pull requests Successful merges: - rust-lang#105034 (Add example for iterator_flatten) - rust-lang#105708 (Enable atomic cas for bpf targets) - rust-lang#106175 (Fix bad import suggestion with nested `use` tree) - rust-lang#106204 (No need to take opaques in `check_type_bounds`) - rust-lang#106387 (Revert "bootstrap: Get rid of `tail_args` in `stream_cargo`") - rust-lang#106636 (Accept old spelling of Fuchsia target triples) - rust-lang#106639 (update Miri) - rust-lang#106640 (update test for inductive canonical cycles) - rust-lang#106647 (rustdoc: merge common CSS for `a`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This reverts commit 9dfe504. (Note: that merged as part of #106305, but #106305 contains more commits than just 9dfe504.)
Fixes
x clippy
. It turns outclippy
was the only one usingtail_args
🤦 sorry for not testing this earlier.r? @Mark-Simulacrum