Tidy up use declaration syntax.
This commit is contained in:
@@ -7,13 +7,14 @@ use cranelift_codegen::dbg::LOG_FILENAME_PREFIX;
|
||||
use cranelift_codegen::timing;
|
||||
use file_per_thread_logger;
|
||||
use num_cpus;
|
||||
use runone;
|
||||
use std::panic::catch_unwind;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::mpsc::{channel, Receiver, Sender};
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::thread;
|
||||
use std::time::Duration;
|
||||
use {runone, TestResult};
|
||||
use TestResult;
|
||||
|
||||
/// Request sent to worker threads contains jobid and path.
|
||||
struct Request(usize, PathBuf);
|
||||
|
||||
@@ -5,12 +5,13 @@
|
||||
|
||||
use concurrent::{ConcurrentRunner, Reply};
|
||||
use cranelift_codegen::timing;
|
||||
use runone;
|
||||
use std::error::Error;
|
||||
use std::ffi::OsStr;
|
||||
use std::fmt::{self, Display};
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::time;
|
||||
use {runone, TestResult};
|
||||
use TestResult;
|
||||
|
||||
/// Timeout in seconds when we're not making progress.
|
||||
const TIMEOUT_PANIC: usize = 10;
|
||||
|
||||
Reference in New Issue
Block a user