From d18d3f5c287449f9efee7dcf07a1f9d0a4aecfae Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Mon, 12 Jan 2026 22:30:21 +0100 Subject: [PATCH] Add swapped_count to vm_statistics64 on macOS --- src/unix/bsd/apple/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs index 69321b7086f7..efe13d873fd3 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -1470,6 +1470,7 @@ s! { pub external_page_count: natural_t, pub internal_page_count: natural_t, pub total_uncompressed_pages_in_compressor: u64, + pub swapped_count: u64, } #[repr(packed(4))]