Skip to content

Commit 9837b46

Browse files
Merge #1587
1587: MapFlags::MAP_ALIGNED_SUPER not exposed on FreeBSD due to typo r=asomers a=StephanvanSchaik This fixes a typo in `src/sys/mman.rs` where `MapFlags::MAP_ALIGNED_SUPER` should have been available on FreeBSD, but is not due to a typo. Co-authored-by: S.J.R. van Schaik <stephan@synkhronix.com>
2 parents 055818a + 578ba1d commit 9837b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/mman.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ libc_bitflags!{
141141
#[cfg(any(target_os = "ios", target_os = "macos"))]
142142
MAP_JIT;
143143
/// Allows to use large pages, underlying alignment based on size.
144-
#[cfg(target_os = "freesd")]
144+
#[cfg(target_os = "freebsd")]
145145
MAP_ALIGNED_SUPER;
146146
/// Pages will be discarded in the core dumps.
147147
#[cfg(target_os = "openbsd")]

0 commit comments

Comments
 (0)