We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04c0875 + a11f206 commit 68b63d2Copy full SHA for 68b63d2
src/cargo/core/compiler/build_config.rs
@@ -214,21 +214,4 @@ impl CompileMode {
214
pub fn is_run_custom_build(self) -> bool {
215
self == CompileMode::RunCustomBuild
216
}
217
-
218
- /// List of all modes (currently used by `cargo clean -p` for computing
219
- /// all possible outputs).
220
- pub fn all_modes() -> &'static [CompileMode] {
221
- static ALL: [CompileMode; 9] = [
222
- CompileMode::Test,
223
- CompileMode::Build,
224
- CompileMode::Check { test: true },
225
- CompileMode::Check { test: false },
226
- CompileMode::Bench,
227
- CompileMode::Doc { deps: true },
228
- CompileMode::Doc { deps: false },
229
- CompileMode::Doctest,
230
- CompileMode::RunCustomBuild,
231
- ];
232
- &ALL
233
- }
234
0 commit comments