Skip to content

Commit 4d104dd

Browse files
Jon Gjengsetjoshtriplett
Jon Gjengset
authored andcommitted
rustfmt
1 parent 3bc2640 commit 4d104dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libgit2-sys/build.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ fn main() {
1414
let try_to_use_system_libgit2 = !vendored && !zlib_ng_compat;
1515
if try_to_use_system_libgit2 {
1616
let mut cfg = pkg_config::Config::new();
17-
if let Ok(lib) = cfg.range_version("1.4.0".."1.5.0").print_system_libs(false).probe("libgit2") {
17+
if let Ok(lib) = cfg
18+
.range_version("1.4.0".."1.5.0")
19+
.print_system_libs(false)
20+
.probe("libgit2")
21+
{
1822
for include in &lib.include_paths {
1923
println!("cargo:root={}", include.display());
2024
}

0 commit comments

Comments
 (0)