]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/metrics.rs
Rollup merge of #105045 - WaffleLapkin:deref-ahhhhļ½˛, r=compiler-errors
[rust.git] / src / bootstrap / metrics.rs
index 451febddc88ceee13b32ae9b7aed99a487d4ad08..c823dc7968465e84a0553676654ebbbfcd153d50 100644 (file)
@@ -97,7 +97,7 @@ pub(crate) fn persist(&self, build: &Build) {
             cpu_threads_count: system.cpus().len(),
             cpu_model: system.cpus()[0].brand().into(),
 
-            memory_total_bytes: system.total_memory() * 1024,
+            memory_total_bytes: system.total_memory(),
         };
         let steps = std::mem::take(&mut state.finished_steps);