Skip to content

Commit ed33507

Browse files
MapFlags::MAP_ALIGNED_SUPER not exposed on FreeBSD due to typo
1 parent 57d4c86 commit ed33507

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)