fix use cfg
This commit is contained in:
parent
4bfe747f34
commit
a21ddfeefc
|
@ -4,14 +4,12 @@ use color_eyre::{
|
||||||
};
|
};
|
||||||
use tracing::instrument;
|
use tracing::instrument;
|
||||||
|
|
||||||
|
#[cfg(unix)]
|
||||||
|
use std::os::unix::process::ExitStatusExt;
|
||||||
use std::{convert::Infallible as NoDir, io::BufRead};
|
use std::{convert::Infallible as NoDir, io::BufRead};
|
||||||
use std::{
|
use std::{
|
||||||
fmt::Write as _,
|
fmt::Write as _,
|
||||||
io::{BufReader, Lines},
|
io::{BufReader, Lines, Read},
|
||||||
};
|
|
||||||
#[cfg(unix)]
|
|
||||||
use std::{io::Read, os::unix::process::ExitStatusExt};
|
|
||||||
use std::{
|
|
||||||
path::Path,
|
path::Path,
|
||||||
process::{Child, ChildStdout, Command, ExitStatus, Output, Stdio},
|
process::{Child, ChildStdout, Command, ExitStatus, Output, Stdio},
|
||||||
time::{Duration, Instant},
|
time::{Duration, Instant},
|
||||||
|
|
Loading…
Reference in New Issue