Skip to content

Commit fb65b34

Browse files
committed
declare version of windows-sys by range set to fix compile under win7
Using a range instead of the default Caret requirements helps avoid duplicate versions in downstream graphs and improves resolver flexibility. Additionally, `[email protected]+` has a bug that causes compilation errors under `*-win7-windows-*` targets, so this change will allow users to choose & lock older version of `windows-sys` in theirs `Cargo.lock` to avoid this bug and continue support Windows 7.
1 parent 1369549 commit fb65b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ unicode-width = "0.2.2"
117117
url = "2.5.7"
118118
varisat = "0.2.2"
119119
walkdir = "2.5.0"
120-
windows-sys = "0.61"
120+
windows-sys = ">=0.59, <=0.61"
121121
winnow = "0.7.13"
122122

123123
[workspace.lints.rust]

0 commit comments

Comments
 (0)