Skip to content

Commit a968a40

Browse files
committed
[rust] Force window-sys crate version in Windows
1 parent f3444e7 commit a968a40

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

rust/Cargo.Bazel.lock

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"checksum": "4ef6c22ec363acd77306d3758c75001ec6e6164f8f964457ff9af16470c5cf13",
2+
"checksum": "d3b4f76b61f6e1c21a4bd8b7905b2b82a1dee313ae0632e04a1c1a7a2e49d414",
33
"crates": {
44
"addr2line 0.21.0": {
55
"name": "addr2line",
@@ -11951,7 +11951,14 @@
1195111951
"target": "zip"
1195211952
}
1195311953
],
11954-
"selects": {}
11954+
"selects": {
11955+
"cfg(target_os = \"windows\")": [
11956+
{
11957+
"id": "windows-sys 0.59.0",
11958+
"target": "windows_sys"
11959+
}
11960+
]
11961+
}
1195511962
},
1195611963
"deps_dev": {
1195711964
"common": [
@@ -19699,6 +19706,7 @@
1969919706
"toml 0.8.19",
1970019707
"walkdir 2.5.0",
1970119708
"which 6.0.2",
19709+
"windows-sys 0.59.0",
1970219710
"zip 2.1.6"
1970319711
],
1970419712
"direct_dev_deps": [

rust/Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ anyhow = { version = "1.0.86", default-features = false, features = ["backtrace"
3636
apple-flat-package = "0.18.0"
3737
which = "6.0.2"
3838

39+
[target.'cfg(target_os = "windows")'.dependencies]
40+
windows-sys = "0.59.0"
41+
3942
[dev-dependencies]
4043
assert_cmd = "2.0.16"
4144
rstest = "0.19.0"

0 commit comments

Comments
 (0)