Skip to content

Commit

Permalink
chore: Use globs for workspace members
Browse files Browse the repository at this point in the history
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
  • Loading branch information
epage authored and heisen-li committed Apr 21, 2023
1 parent be7b553 commit 9a7cb62
Show file tree
Hide file tree
Showing 16 changed files with 5 additions and 12 deletions.
11 changes: 2 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
[workspace]
resolver = "2"
members = [
"crates/*",
"credential/*",
"benches/benchsuite",
"benches/capture",
"crates/cargo-platform",
"crates/cargo-test-macro",
"crates/cargo-test-support",
"crates/cargo-util",
"crates/crates-io",
"crates/credential/*",
"crates/home",
"crates/mdman",
"crates/resolver-tests",
]
exclude = [
# For linkchecker (downloaded during CI) and semver-check
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Documentation about credential processes may be found at
https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#credential-process

Example implementations may be found at
https://github.com/rust-lang/cargo/tree/master/crates/credential
https://github.com/rust-lang/cargo/tree/master/credential

## Usage

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/cargo/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
//! - [`cargo-test-macro`](https://github.com/rust-lang/cargo/tree/master/crates/cargo-test-macro)
//! ([nightly docs](https://doc.rust-lang.org/nightly/nightly-rustc/cargo_test_macro/index.html)):
//! This is the `#[cargo_test]` proc-macro used by the test suite to define tests.
//! - [`credential`](https://github.com/rust-lang/cargo/tree/master/crates/credential)
//! - [`credential`](https://github.com/rust-lang/cargo/tree/master/credential)
//! This subdirectory contains several packages for implementing the
//! experimental
//! [credential-process](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#credential-process)
Expand Down
2 changes: 1 addition & 1 deletion triagebot.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ trigger_files = ["src/cargo/core/compiler/fingerprint/"]
trigger_files = ["src/cargo/sources/registry/", "src/cargo/core/registry.rs"]

[autolabel."A-registry-authentication"]
trigger_files = ["src/cargo/util/auth.rs", "crates/credential/"]
trigger_files = ["src/cargo/util/auth.rs", "credential/"]

[autolabel."A-semver"]
trigger_files = [
Expand Down

0 comments on commit 9a7cb62

Please sign in to comment.