We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4024334 + 4bab553 commit c8573c4Copy full SHA for c8573c4
crates/ra_prof/src/memory_usage.rs
@@ -26,7 +26,7 @@ impl MemoryUsage {
26
cfg_if! {
27
if #[cfg(target_os = "linux")] {
28
// Note: This is incredibly slow.
29
- let alloc = unsafe { libc::mallinfo() }.uordblks as u32 as isize;
+ let alloc = unsafe { libc::mallinfo() }.uordblks as isize;
30
MemoryUsage { allocated: Bytes(alloc) }
31
} else {
32
MemoryUsage { allocated: Bytes(0) }
0 commit comments