summaryrefslogtreecommitdiff
path: root/runtime/ops/os/sys_info.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-07-13 15:16:24 -0600
committerGitHub <noreply@github.com>2023-07-13 15:16:24 -0600
commit8465bd0037acbaac0c7dfab6a8c6dbf47539934e (patch)
treec2ba7e1ba75a45ba552f40f7a09407674a890916 /runtime/ops/os/sys_info.rs
parentc5ddb5f205dcd6b273b0b451f01f79b68621b2e4 (diff)
chore: update to Rust 1.71 (#19822)
Diffstat (limited to 'runtime/ops/os/sys_info.rs')
-rw-r--r--runtime/ops/os/sys_info.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/os/sys_info.rs b/runtime/ops/os/sys_info.rs
index d51ac1fb4..e9cbbafb6 100644
--- a/runtime/ops/os/sys_info.rs
+++ b/runtime/ops/os/sys_info.rs
@@ -210,7 +210,7 @@ pub fn mem_info() -> Option<MemInfo> {
mem_info.buffers = info.bufferram * mem_unit;
}
}
- #[cfg(any(target_vendor = "apple"))]
+ #[cfg(target_vendor = "apple")]
{
let mut mib: [i32; 2] = [0, 0];
mib[0] = libc::CTL_HW;