mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00

This separates the concern of two different "mode". - UserIntent: focus on the overall goal of the build - CompileMode: the actual compile operation for each unit This is a preparation of adding `-Zno-link`/`-Zlink-only` support, which we'll have `CompileMode::Link` but that doesn't make sense to show up in `UserIntent`.