Skip to content

Commit d11d5a0

Browse files
committed
mman add MAP_CONCEAL mmap flag for openbsd
1 parent f0d6d04 commit d11d5a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sys/mman.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ libc_bitflags!{
140140
MAP_NOCACHE;
141141
#[cfg(any(target_os = "ios", target_os = "macos"))]
142142
MAP_JIT;
143+
/// Pages will be discarded in the core dumps.
144+
#[cfg(target_os = "openbsd")]
145+
MAP_CONCEAL;
143146
}
144147
}
145148

0 commit comments

Comments
 (0)