Skip to content

Commit 0e88879

Browse files
committed
Downgrade windows dep to 0.59 due to failing build
1 parent c736916 commit 0e88879

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ once_cell = "1"
3232
rgb = { version = "0.8.20", default-features = false, features = ["argb"], optional = true }
3333

3434
[target.'cfg(target_os = "windows")'.dependencies]
35-
windows = { version = "0.61", features = ["Win32_Graphics_Direct3D9", "Win32_Graphics_Direct3D10", "Win32_Graphics_Direct3D11"] }
35+
# windows-0.60+ breaks the build in some cases: https://github.com/twistedfall/opencv-rust/issues/660
36+
windows = { version = "0.59", features = ["Win32_Graphics_Direct3D9", "Win32_Graphics_Direct3D10", "Win32_Graphics_Direct3D11"] }
3637

3738
[build-dependencies]
3839
opencv-binding-generator = { version = "0.96.0", path = "binding-generator" }

0 commit comments

Comments
 (0)