Skip to content

Conversation

@RalfJung
Copy link
Collaborator

@RalfJung RalfJung commented Jun 30, 2025

Fixes #327 by looking at the path in which artifacts are stored: if we pass --target to cargo, that will be different for host and target crates. If a non-proc-macro host crate shows up, we just ignore it during artifact gathering.

I have confirmed that in the context of rust-lang/rust-clippy#14883 this makes the dependency build work.

TODO (check if already done)

  • Add tests
  • Add CHANGELOG.md entry
  • Bumped minor version and committed lockfiles in case a release is desired

@RalfJung
Copy link
Collaborator Author

Add CHANGELOG.md entry

Should this go into the changelog?

@oli-obk
Copy link
Owner

oli-obk commented Jul 1, 2025

Yea, seems like a good addition for ppl to know that they can do more now

oli-obk
oli-obk previously approved these changes Jul 1, 2025
@RalfJung
Copy link
Collaborator Author

RalfJung commented Jul 1, 2025

Bumped minor version and committed lockfiles in case a release is desired

I'd like to see a release but presumably that's a separate PR?

@oli-obk
Copy link
Owner

oli-obk commented Jul 1, 2025

Nah just do it in this one. I'll clarify that in the PR description

@RalfJung RalfJung force-pushed the dependencies branch 2 times, most recently from 35ec58d to ab0d618 Compare July 1, 2025 10:04
@oli-obk
Copy link
Owner

oli-obk commented Jul 1, 2025

You new ci checks for lockfiles seem to be working

@RalfJung
Copy link
Collaborator Author

RalfJung commented Jul 1, 2025

Oddly, a bunch of lockfiles did update when I just changed the version, but the main one did not.^^

@RalfJung
Copy link
Collaborator Author

RalfJung commented Jul 1, 2025

Nothing ensures that the tests have updated lockfiles though... ah well, another time.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lockfile and ui_test_dep_bug also have some more changes from the "spanned" thing; doesn't seem worth a separate PR.

@oli-obk oli-obk merged commit e8592b9 into oli-obk:main Jul 1, 2025
8 checks passed
@RalfJung RalfJung deleted the dependencies branch July 1, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

does not support crates that appear as both build-dependencies and core dependencies

2 participants