From 74605928147e98bff8d52916be1aadee1ec48b23 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 9 Aug 2018 14:43:23 -0500 Subject: [PATCH] add Install to all_modes --- src/cargo/core/compiler/build_config.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cargo/core/compiler/build_config.rs b/src/cargo/core/compiler/build_config.rs index 39c29feac..91937408e 100644 --- a/src/cargo/core/compiler/build_config.rs +++ b/src/cargo/core/compiler/build_config.rs @@ -182,7 +182,7 @@ impl CompileMode { /// List of all modes (currently used by `cargo clean -p` for computing /// all possible outputs). pub fn all_modes() -> &'static [CompileMode] { - static ALL: [CompileMode; 9] = [ + static ALL: [CompileMode; 10] = [ CompileMode::Test, CompileMode::Build, CompileMode::Check { test: true }, @@ -191,6 +191,7 @@ impl CompileMode { CompileMode::Doc { deps: true }, CompileMode::Doc { deps: false }, CompileMode::Doctest, + CompileMode::Install, CompileMode::RunCustomBuild, ]; &ALL -- 2.39.5