Skip to content

Commit

Permalink
Add TODO note
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Nov 14, 2023
1 parent d2785bf commit 47f5178
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sys/mman.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ impl MapFlags {
/// let f = MapFlags::map_hugetlb_with_size_log2(30).unwrap();
/// assert_eq!(f, MapFlags::MAP_HUGETLB | MapFlags::MAP_HUGE_1GB);
/// ```
// TODO: support Andorid and Fuchsia when https://github.com/rust-lang/libc/pull/3444
// will be released
#[cfg(target_os = "linux")]
#[cfg_attr(docsrs, doc(cfg(all())))]
pub fn map_hugetlb_with_size_log2(huge_page_size_log2: u32) -> Option<Self> {
Expand Down

0 comments on commit 47f5178

Please sign in to comment.