-
Notifications
You must be signed in to change notification settings - Fork 565
Closed
Description
Cloud Hypervisor uses the main Cargo.toml both as crate and as workspace. This has some downsides:
- one must specify
--workspace(e.g.,cargo test --workspace) all the time for workspace-wide actions- especially since
cargo clippyandcargo testnow work completely it would be cool if things "just work" a little more nicely (Quality of Life Improvement:cargo clippyjust works #7482 and Quality of Life Improvement: enablecargo test --workspace: via#[cfg(chv_testenv)]#7487)
- especially since
- the Cargo.toml file is very bloated
I think I started this discussion two years ago (#5761) but back then @rbradford replied with
Big 👎 for reorganising the source tree - it makes backporting and bug fixes and code archaeology much harder.
in my perception, in retrospective, we would not have an issue with that. Please correct me if I'm wrong! Especially as the code in <repo>/src is very small and most functionality is already in <repo>/vmm. So in my opinion, it would improve the developer experience to decouple things without making any noticeable downsides.
Metadata
Metadata
Assignees
Labels
No labels