Skip to content

Commit aba4d01

Browse files
authored
Merge pull request #291 from rust-lang/dependabot/cargo/git2-0.18.0
build(deps): bump git2 from 0.17.0 to 0.18.0
2 parents cbeb853 + c2cddd3 commit aba4d01

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env_logger = "0.10.0"
2222
thiserror = "1"
2323
anyhow = "1"
2424
flate2 = "1.0.24"
25-
git2 = "0.17.0"
25+
git2 = "0.18.0"
2626
log = "0.4"
2727
pbr = "1.1.1"
2828
reqwest = { version = "0.11.12", features = ["blocking", "json"] }

src/main.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,11 @@ impl Config {
11851185

11861186
fn search_perf_builds(&self, toolchain: &Toolchain) -> anyhow::Result<BisectionResult> {
11871187
eprintln!("Attempting to search unrolled perf builds");
1188-
let Toolchain {spec: ToolchainSpec::Ci { commit, .. }, ..} = toolchain else {
1188+
let Toolchain {
1189+
spec: ToolchainSpec::Ci { commit, .. },
1190+
..
1191+
} = toolchain
1192+
else {
11891193
bail!("not a ci commit");
11901194
};
11911195
let summary = get_commit(commit)?.summary;
@@ -1231,7 +1235,9 @@ impl Config {
12311235
.collect::<Vec<_>>();
12321236

12331237
let Some(found) = toolchains.iter().position(|t| {
1234-
self.install_and_test(t, &dl_spec).unwrap_or(Satisfies::Unknown) == Satisfies::Yes
1238+
self.install_and_test(t, &dl_spec)
1239+
.unwrap_or(Satisfies::Unknown)
1240+
== Satisfies::Yes
12351241
}) else {
12361242
bail!("none of the toolchains satisfied the predicate");
12371243
};

0 commit comments

Comments
 (0)