Skip to content

Commit 0033192

Browse files
committed
chore: fix cargo check on macOs
1 parent aa67776 commit 0033192

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/executor/wall_time/perf/memory_mappings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use super::perf_map::ProcessSymbols;
22
use super::unwind_data::UnwindDataExt;
33
use crate::prelude::*;
44
use libc::pid_t;
5-
use procfs::process::MMPermissions;
65
use runner_shared::unwind_data::UnwindData;
76
use std::collections::HashMap;
87

@@ -12,6 +11,7 @@ pub(super) fn process_memory_mappings(
1211
symbols_by_pid: &mut HashMap<pid_t, ProcessSymbols>,
1312
unwind_data_by_pid: &mut HashMap<pid_t, Vec<UnwindData>>,
1413
) -> anyhow::Result<()> {
14+
use procfs::process::MMPermissions;
1515
let bench_proc =
1616
procfs::process::Process::new(pid as _).expect("Failed to find benchmark process");
1717
let exe_maps = bench_proc.maps().expect("Failed to read /proc/{pid}/maps");

0 commit comments

Comments
 (0)