We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dcf12b4 + 99ce27b commit d5050c0Copy full SHA for d5050c0
measureme/Cargo.toml
@@ -22,5 +22,5 @@ smallvec = "1.0"
22
nightly = []
23
24
[target.'cfg(all(target_arch = "x86_64", target_os = "linux"))'.dependencies]
25
-memmap = "0.7"
+memmap2 = "0.2.1"
26
perf-event-open-sys = "1.0.1"
measureme/src/counters.rs
@@ -302,7 +302,7 @@ const BUG_REPORT_MSG: &str =
302
/// Linux x86_64 implementation based on `perf_event_open` and `rdpmc`.
303
#[cfg(all(feature = "nightly", target_arch = "x86_64", target_os = "linux"))]
304
mod hw {
305
- use memmap::{Mmap, MmapOptions};
+ use memmap2::{Mmap, MmapOptions};
306
use perf_event_open_sys::{bindings::*, perf_event_open};
307
use std::convert::TryInto;
308
use std::error::Error;
0 commit comments