Skip to content

Commit cd08962

Browse files
committed
use explicit crate root path
1 parent 49b9217 commit cd08962

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/main.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ use tee::TeeReader;
3636
use tempdir::TempDir;
3737
use xz2::read::XzDecoder;
3838

39+
mod git;
40+
mod least_satisfying;
41+
42+
use crate::least_satisfying::{least_satisfying, Satisfies};
43+
3944
/// The first commit which build artifacts are made available through the CI for
4045
/// bisection.
4146
///
@@ -47,10 +52,6 @@ const EPOCH_COMMIT: &str = "927c55d86b0be44337f37cf5b0a76fb8ba86e06c";
4752
const NIGHTLY_SERVER: &str = "https://static.rust-lang.org/dist";
4853
const CI_SERVER: &str = "https://s3-us-west-1.amazonaws.com/rust-lang-ci2";
4954

50-
mod git;
51-
mod least_satisfying;
52-
use least_satisfying::{least_satisfying, Satisfies};
53-
5455
fn get_commits(start: &str, end: &str) -> Result<Vec<git::Commit>, Error> {
5556
eprintln!("fetching commits from {} to {}", start, end);
5657
let commits = git::get_commits_between(start, end)?;

0 commit comments

Comments
 (0)