]> git.proxmox.com Git - cargo.git/commitdiff
add Install to all_modes
authorJorge Aparicio <jorge@japaric.io>
Thu, 9 Aug 2018 19:43:23 +0000 (14:43 -0500)
committerJorge Aparicio <jorge@japaric.io>
Sat, 1 Sep 2018 16:12:22 +0000 (18:12 +0200)
src/cargo/core/compiler/build_config.rs

index 39c29feac826504613ce45dfbc33b36d6e601d85..91937408e9ef2fdf1cd69f22924d91f0c6c00bd7 100644 (file)
@@ -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