Skip to content

Commit 2107834

Browse files
committed
Restrict cc version to fix build hang
1 parent 7e81176 commit 2107834

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
* 0.84.4
2+
* Workaround for a build hang due to `cc` dependency
3+
14
* 0.84.3
25
* Update docs
36

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ rgb = { version = "0.8.20", features = ["argb"], optional = true }
7070

7171
[build-dependencies]
7272
opencv-binding-generator = { version = "0.71.0", path = "binding-generator" }
73-
cc = { version = "1", features = ["parallel"] }
73+
# cc starting with version 1.0.80 hangs on build https://github.com/twistedfall/opencv-rust/issues/480
74+
cc = { version = "<=1.0.79", features = ["parallel"] }
7475
dunce = "1"
7576
# jobserver-0.1.25 is the first one that has Client::available() method
7677
jobserver = "0.1.25"

0 commit comments

Comments
 (0)