diff options
author | Wilfred Hughes <me@wilfred.me.uk> | 2023-10-05 00:49:15 -0400 |
---|---|---|
committer | Wilfred Hughes <me@wilfred.me.uk> | 2023-10-05 00:49:15 -0400 |
commit | 71bf6b6a97bdf4da797a2c6f7c7b062f665b6d74 (patch) | |
tree | d1f77eb159f90f4d558646c0e285a9798ad939e8 | |
parent | 1d32b477c13d15d61cea7523dfa3dd61f86bf0ae (diff) |
Enable the parallel feature on the cc crate
This doesn't seem to help much (libraries are already built in
parallel), but it doesn't hurt.
-rw-r--r-- | Cargo.lock | 10 | ||||
-rw-r--r-- | Cargo.toml | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/Cargo.lock b/Cargo.lock index f381f2979..e2f6207f3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -88,6 +88,7 @@ version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" dependencies = [ + "jobserver", "libc", ] @@ -422,6 +423,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] +name = "jobserver" +version = "0.1.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" +dependencies = [ + "libc", +] + +[[package]] name = "lazy_static" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" diff --git a/Cargo.toml b/Cargo.toml index 3123a9e28..26356a948 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -77,7 +77,7 @@ predicates = ">= 2, <= 2.1.1" pretty_assertions = "1.3.0" [build-dependencies] -cc = "1.0.83" +cc = { version = "1.0.83", features = ["parallel"] } rayon = "1.7.0" version_check = "0.9.4" |