From 6e6395ec10a37dcb8ceaf2bf22d40a25c7b8e2c5 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 7b084251d3b8e..e4079a14e2d79 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -1456,6 +1456,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))]