-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Use glob syntax when probing members in [workspace]
for Cargo itself
#11988
Comments
Should we move Longer term, #11362 fits this situation. |
I think yes in the short-term moving crates is a better approach. It's relatively easy to rollback so let's do it. Keep in mind that we also need to update code here in rust-lang/rust accordingly. BTW I found that |
That was intentional. At the time, the version of Linux used in the dist builders was too old for libsecret. I'm not sure if that is still the case. However, it needs to be linked dynamically, and I'm not sure how that would work when transferred to various different distros. The current intent is that if someone wants to use |
chore: Use globs for workspace members This is a short-term option until we can have a better solution for globbing. This does not update `benches/` to support which has a README in there preventing globbing; this seems low-churn enough not to find a solution for it. On the next sync-up with rust-lang/rust, we'll need to update https://github.com/rust-lang/rust/blob/4e463012580415a932ae4fc255aff45982c70369/src/bootstrap/tool.rs#L588-L603 Fixes #11988
This is a short-term option until we can have a better solution for globbing. This does not update `benches/` to support which has a README in there preventing globbing; this seems low-churn enough not to find a solution for it. On the next sync-up with rust-lang/rust, we'll need to update https://github.com/rust-lang/rust/blob/4e463012580415a932ae4fc255aff45982c70369/src/bootstrap/tool.rs#L588-L603 Fixes rust-lang#11988
Are you sure about this change? I can't run workspace commands since that has been changed:
|
Hmm… in which commit you ran these commands? 🤔 Mine looks fine with dcc4702. CI also reported it without failures. cargo/.github/workflows/main.yml Line 26 in dcc4702
|
Maybe you need to |
I was using |
This is a short-term option until we can have a better solution for globbing. This does not update `benches/` to support which has a README in there preventing globbing; this seems low-churn enough not to find a solution for it. On the next sync-up with rust-lang/rust, we'll need to update https://github.com/rust-lang/rust/blob/4e463012580415a932ae4fc255aff45982c70369/src/bootstrap/tool.rs#L588-L603 Fixes rust-lang#11988
This is just for the record of making it happen in Cargo the project itself. The actual feature request is in #11405 and other issues listed there.
The problem in cargo itself is that both
crates/*
andcrates/credential/*
contain crates, but when probing withcrates/*
Cargo expectscrates/credential
to be a workspace member.The text was updated successfully, but these errors were encountered: