]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/install.rs
remove pat2021
[rust.git] / src / bootstrap / install.rs
index b427420d577959f9e80cec4e5dc3d119c8df24c3..68e7dc80067268abe28ae010d47a88f4edfd2c72 100644 (file)
@@ -190,6 +190,22 @@ fn run($sel, $builder: &Builder<'_>) {
             );
         }
     };
+    RustDemangler, "rust-demangler", Self::should_build(_config), only_hosts: true, {
+        // Note: Even though `should_build` may return true for `extended` default tools,
+        // dist::RustDemangler may still return None, unless the target-dependent `profiler` config
+        // is also true, or the `tools` array explicitly includes "rust-demangler".
+        if let Some(tarball) = builder.ensure(dist::RustDemangler {
+            compiler: self.compiler,
+            target: self.target
+        }) {
+            install_sh(builder, "rust-demangler", self.compiler.stage, Some(self.target), &tarball);
+        } else {
+            builder.info(
+                &format!("skipping Install RustDemangler stage{} ({})",
+                         self.compiler.stage, self.target),
+            );
+        }
+    };
     Analysis, "analysis", Self::should_build(_config), only_hosts: false, {
         let tarball = builder.ensure(dist::Analysis {
             // Find the actual compiler (handling the full bootstrap option) which