-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Description
I just noticed #5083 and have an alternative suggestion:
- Turn cargo into a library-only crate with an unstable 0.x version.
- Move cargo-the-binary into the rustc repo and share its stable 1.y version.
Now there is quite a lot of code in src/bin but that could be moved to src/lib/bin or something, so cargo-the-binary only has to be a very thin wrapper around it. (On second thoughts, perhaps it's better to simply move this to rustc so that the stability of it is easier to track and keep in line with rustc.)
The unstable cargo version should still be available on cargo --version --verbose though.
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`