Skip to content

Commit 908a6ac

Browse files
committed
fix: fix cross build
1 parent 9379a68 commit 908a6ac

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/find/matchers/context.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@
55
66
#[cfg(target_os = "linux")]
77
use nix::{libc::SELINUX_MAGIC, sys::statvfs::FsFlags};
8+
9+
use std::error::Error;
810
#[cfg(target_os = "linux")]
911
use std::{
10-
error::Error,
1112
fs::File,
1213
io::{stderr, BufRead, BufReader, Read, Write},
1314
};
1415

1516
#[cfg(target_os = "linux")]
16-
use super::{glob::Pattern, Matcher, MatcherIO, WalkEntry};
17+
use super::glob::Pattern;
18+
use super::{Matcher, MatcherIO, WalkEntry};
1719

1820
#[cfg(target_os = "linux")]
1921
const XATTR_NAME_SELINUX: &str = "security.selinux";

0 commit comments

Comments
 (0)