diff --git a/rust/Cargo.Bazel.lock b/rust/Cargo.Bazel.lock index b3c69fc570b52..ed4bd24fd3f0b 100644 --- a/rust/Cargo.Bazel.lock +++ b/rust/Cargo.Bazel.lock @@ -1,5 +1,5 @@ { - "checksum": "4ef6c22ec363acd77306d3758c75001ec6e6164f8f964457ff9af16470c5cf13", + "checksum": "d3b4f76b61f6e1c21a4bd8b7905b2b82a1dee313ae0632e04a1c1a7a2e49d414", "crates": { "addr2line 0.21.0": { "name": "addr2line", @@ -11951,7 +11951,14 @@ "target": "zip" } ], - "selects": {} + "selects": { + "cfg(target_os = \"windows\")": [ + { + "id": "windows-sys 0.59.0", + "target": "windows_sys" + } + ] + } }, "deps_dev": { "common": [ @@ -19699,6 +19706,7 @@ "toml 0.8.19", "walkdir 2.5.0", "which 6.0.2", + "windows-sys 0.59.0", "zip 2.1.6" ], "direct_dev_deps": [ diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 75a8c93872f40..9ced73f9b82a8 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -1892,6 +1892,7 @@ dependencies = [ "toml", "walkdir", "which", + "windows-sys 0.59.0", "zip", ] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 1182fb58fa4eb..282eb98ee46dc 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -36,6 +36,9 @@ anyhow = { version = "1.0.86", default-features = false, features = ["backtrace" apple-flat-package = "0.18.0" which = "6.0.2" +[target.'cfg(target_os = "windows")'.dependencies] +windows-sys = "0.59.0" + [dev-dependencies] assert_cmd = "2.0.16" rstest = "0.19.0"