diff rust/hg-core/src/revlog/options.rs @ 52346:33d8cb64e9da

rust: fix darwin build
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Mon, 18 Nov 2024 15:42:09 +0100
parents 84b5802ba7d3
children 8370eb2c72ca
line wrap: on
line diff
--- a/rust/hg-core/src/revlog/options.rs	Mon Nov 04 15:28:32 2024 +0100
+++ b/rust/hg-core/src/revlog/options.rs	Mon Nov 18 15:42:09 2024 +0100
@@ -113,7 +113,7 @@
 
 /// There is a of populating mmaps for Windows, but it would need testing.
 #[cfg(not(target_os = "linux"))]
-const fn can_populate_mmap() {
+const fn can_populate_mmap() -> bool {
     false
 }