File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -89,12 +89,8 @@ fn workspace_members(build: &Build) -> impl Iterator<Item = Package> {
89
89
90
90
// Collects `metadata.packages` from all workspaces.
91
91
let packages = collect_metadata ( "Cargo.toml" ) ;
92
- let cargo_packages = collect_metadata ( "src/tools/cargo/Cargo.toml" ) ;
93
92
let ra_packages = collect_metadata ( "src/tools/rust-analyzer/Cargo.toml" ) ;
94
93
let bootstrap_packages = collect_metadata ( "src/bootstrap/Cargo.toml" ) ;
95
94
96
- // We only care about the root package from `src/tool/cargo` workspace.
97
- let cargo_package = cargo_packages. into_iter ( ) . find ( |pkg| pkg. name == "cargo" ) . into_iter ( ) ;
98
-
99
- packages. into_iter ( ) . chain ( cargo_package) . chain ( ra_packages) . chain ( bootstrap_packages)
95
+ packages. into_iter ( ) . chain ( ra_packages) . chain ( bootstrap_packages)
100
96
}
You can’t perform that action at this time.
0 commit comments