]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/builder.rs
Created experimental build.print_step_rusage setting
[rust.git] / src / bootstrap / builder.rs
index 61554a316d0a1e7e071afd95d35079426336f390..c0175a0710fdc61c16999c07325ad1139b5e6f1e 100644 (file)
@@ -1259,6 +1259,10 @@ pub fn cargo(
             cargo.env("RUSTC_PRINT_STEP_TIMINGS", "1");
         }
 
+        if self.config.print_step_rusage {
+            cargo.env("RUSTC_PRINT_STEP_RUSAGE", "1");
+        }
+
         if self.config.backtrace_on_ice {
             cargo.env("RUSTC_BACKTRACE_ON_ICE", "1");
         }