Skip to content

Commit

Permalink
fix mmap::Advice reexport (#2230)
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz authored Oct 27, 2023
1 parent ccecf94 commit bf6544c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/directory/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ pub struct GarbageCollectionResult {
pub failed_to_delete_files: Vec<PathBuf>,
}

#[cfg(all(feature = "mmap", unix))]
pub use memmap2::Advice;

pub use self::managed_directory::ManagedDirectory;
#[cfg(feature = "mmap")]
pub use self::mmap_directory::MmapDirectory;
Expand Down

0 comments on commit bf6544c

Please sign in to comment.