Turn cargo into a library-only crate, and move the binary part to rustc #5682
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
I just noticed #5083 and have an alternative suggestion:
Now there is quite a lot of code in
src/bin
but that could be moved tosrc/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.The text was updated successfully, but these errors were encountered: