-
Notifications
You must be signed in to change notification settings - Fork 1.7k
WIP: use ui_test dependency builder for test dependencies #14883
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
base: master
Are you sure you want to change the base?
Conversation
r? @Alexendoo rustbot has assigned @Alexendoo. Use |
No clue about the |
Oh I see, and those are driven by the same runner. So depending on the test suite we'll need to use one or the other logic. |
that PR was made because it was prohibitively slow for many maintainers and contributors to build the deps in the test suite instead of in the main build. I don't see how that issue can be avoided. |
this is about |
The issue is avoided by noting having the clippy crates in I didn't implement this part yet; it's what I referred to here. |
Ah so the problem is that we pull in serde which pulls in a proc macro which has quote as a proc macro dep? Hm... They look different in what you print, one is in the Do clippy tests need serde with the proc macro or could we disable that feature? |
A lot of Clippy tests use |
Okay, damn. Then ui_test has to somehow figure out which dependencies belong where... |
I can give it another shot, but I may have to ask cargo to emit more data |
I tried to understand the problem and created an issue for further discussion: oli-obk/ui_test#327. |
changelog: none
This tries to make progress on rust-lang/rust#78717 by using the ui_test dependency handling instead of linking in the dependencies of clippy itself with the tests. This effectively reverts #11045.
However, it doesn't quite work. I am getting this:
I am not sure which exact dependencies ui_test is referring to here --
clippy_test_deps
does not have any build-dependencies.@oli-obk do you know what could be done here?