fix use cfg

This commit is contained in:
Jane Lusby 2020-10-29 18:03:00 -07:00 committed by Deirdre Connolly
parent 4bfe747f34
commit a21ddfeefc
1 changed files with 3 additions and 5 deletions

View File

@ -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},