]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/tool.rs
fixup
[rust.git] / src / bootstrap / tool.rs
index af906930145755aadeaafdc9caf470652216a4f3..9f6db73e6f71389dd2456e234964a23dde40d23f 100644 (file)
@@ -83,6 +83,7 @@ fn run(self, builder: &Builder) -> Option<PathBuf> {
                 | "rls"
                 | "cargo"
                 | "clippy-driver"
+                | "miri"
                 => {}
 
                 _ => return,
@@ -218,6 +219,7 @@ pub fn prepare_tool_cargo(
         if path.ends_with("cargo") ||
             path.ends_with("rls") ||
             path.ends_with("clippy") ||
+            path.ends_with("miri") ||
             path.ends_with("rustfmt")
         {
             cargo.env("LIBZ_SYS_STATIC", "1");
@@ -592,7 +594,7 @@ fn run(mut $sel, $builder: &Builder) -> Option<PathBuf> {
         });
     };
     Miri, miri, "src/tools/miri", "miri", {};
-    CargoMiri, clippy, "src/tools/miri", "cargo-miri", {
+    CargoMiri, miri, "src/tools/miri", "cargo-miri", {
         // Miri depends on procedural macros (serde), which requires a full host
         // compiler to be available, so we need to depend on that.
         builder.ensure(compile::Rustc {