Switch from memmap to memmap2.

See https://rustsec.org/advisories/RUSTSEC-2020-0077
This commit is contained in:
Dan Gohman
2021-02-16 11:55:27 -08:00
parent d598883f3a
commit b396f6dc6f
5 changed files with 9 additions and 19 deletions

View File

@@ -5,7 +5,7 @@ use errno;
use libc;
#[cfg(feature = "selinux-fix")]
use memmap::MmapMut;
use memmap2::MmapMut;
use region;
use std::convert::TryFrom;