-
Notifications
You must be signed in to change notification settings - Fork 385
Add clippy cross-checking support to CI #3325
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
Conversation
My guess is missing some package
|
845fef9
to
9b6b336
Compare
Doesn't seem like it's possible to run clippy for targets that one can't build binaries for. Or at least, jemalloc-sys tries to do stuff in check-builds that doesn't work for cross-builds. So we'll have to run these on their respective native hosts, I guess? |
Or alternatively we could try to make jemalloc-sys an optional dependency (on by default, but turned off for clippy) and hope that this is the only dependency that causes such issues. That seems nicer, if it works. But there might be other dependencies with similar problems. |
@RossSmyth We only have the jemalloc dependency to fix this issue: #3255 which we shouldn't be subject to in a check build. So I'd support a way to toggle it off for cross-checking. |
9b6b336
to
b651fe8
Compare
That still doesn't seem to be working
|
I think we have to give up on the cross-clippy thing. We can just add a clippy run to the end of the regular CI job to ensure we have coverage. |
Yeah I've pretty much given up on it. Too many weird things to account for. I'll keep the branch up for reference. |
I can't run this on my computer because jemallocator isn't supported on Windows. So let's see if CI is happy with this.