Skip to content

Commit 92491db

Browse files
committed
Enable the parallel feature of cc
There's a lot of C objects to compile so serial compilation can actually take quite some time! This enables the `parallel` feature of the `cc` crate to compile objects in parallel and regain some build time back.
1 parent d94e4f1 commit 92491db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libgit2-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ libz-sys = "1.0.22"
2323

2424
[build-dependencies]
2525
pkg-config = "0.3.7"
26-
cc = "1.0.25"
26+
cc = { version = "1.0.25", features = ['parallel'] }
2727

2828
[target.'cfg(unix)'.dependencies]
2929
openssl-sys = { version = "0.9", optional = true }

0 commit comments

Comments
 (0)