summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2023-10-08 15:32:03 -0700
committerWilfred Hughes <me@wilfred.me.uk>2023-10-08 15:33:33 -0700
commit6ac7fd01a492c2eafac6be629cc5abe49be0f16b (patch)
tree66d839e8e89dd411d6a9b02896e1b79889c57e2d
parentab1966b7d29ab4b8218d4ddce7ea538dd9075e4f (diff)
Revert "Enable the parallel feature on the cc crate"
This reverts commit 71bf6b6a97bdf4da797a2c6f7c7b062f665b6d74. Using the parallel feature on cc requires Rust 1.61 or higher, see https://github.com/rust-lang/cc-rs/pull/849
-rw-r--r--Cargo.lock10
-rw-r--r--Cargo.toml4
2 files changed, 3 insertions, 11 deletions
diff --git a/Cargo.lock b/Cargo.lock
index e2f6207f3..f381f2979 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -88,7 +88,6 @@ version = "1.0.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
dependencies = [
- "jobserver",
"libc",
]
@@ -423,15 +422,6 @@ 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 26356a948..b544adb18 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -77,7 +77,9 @@ predicates = ">= 2, <= 2.1.1"
pretty_assertions = "1.3.0"
[build-dependencies]
-cc = { version = "1.0.83", features = ["parallel"] }
+# TODO: enable parallel mode once MSRV hits 1.61, see discussion in
+# https://github.com/rust-lang/cc-rs/pull/849
+cc = "1.0.83"
rayon = "1.7.0"
version_check = "0.9.4"