Switch to memmap2 fork

This commit is contained in:
Trent Nelson
2020-12-11 13:57:43 -07:00
committed by mergify[bot]
parent 730cb3b7cc
commit edff62af3d
8 changed files with 26 additions and 18 deletions

View File

@@ -415,9 +415,9 @@ impl<T: std::cmp::Ord + AbiExample> AbiExample for BTreeSet<T> {
}
#[cfg(not(target_arch = "bpf"))]
impl AbiExample for memmap::MmapMut {
impl AbiExample for memmap2::MmapMut {
fn example() -> Self {
memmap::MmapMut::map_anon(1).expect("failed to map the data file")
memmap2::MmapMut::map_anon(1).expect("failed to map the data file")
}
}