Skip to content

Commit 7a76ef5

Browse files
authored
bump windows-sys requirement to allow 0.59.0 (#1229)
The code is compatible with version 0.52.0 and version 0.59.0. Additionally, bump errno to 0.3.10 to get this requirement on errno as well.
1 parent e38d2af commit 7a76ef5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ once_cell = { version = "1.5.2", optional = true }
3737
# `RUSTFLAGS` or enabling the `use-libc` cargo feature.
3838
[target.'cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", target_arch = "s390x"), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))'.dependencies]
3939
linux-raw-sys = { version = "0.4.14", default-features = false, features = ["general", "errno", "ioctl", "no_std", "elf"] }
40-
libc_errno = { package = "errno", version = "0.3.8", default-features = false, optional = true }
40+
libc_errno = { package = "errno", version = "0.3.10", default-features = false, optional = true }
4141
libc = { version = "0.2.161", default-features = false, optional = true }
4242

4343
# Dependencies for platforms where only libc is supported:
4444
#
4545
# On all other Unix-family platforms, and under Miri, we always use the libc
4646
# backend, so enable its dependencies unconditionally.
4747
[target.'cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", target_arch = "s390x"), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))))))'.dependencies]
48-
libc_errno = { package = "errno", version = "0.3.8", default-features = false }
48+
libc_errno = { package = "errno", version = "0.3.10", default-features = false }
4949
libc = { version = "0.2.161", default-features = false }
5050

5151
# Additional dependencies for Linux with the libc backend:
@@ -57,7 +57,7 @@ linux-raw-sys = { version = "0.4.14", default-features = false, features = ["gen
5757

5858
# For the libc backend on Windows, use the Winsock API in windows-sys.
5959
[target.'cfg(windows)'.dependencies.windows-sys]
60-
version = "0.52.0"
60+
version = ">=0.52, <=0.59"
6161
features = [
6262
"Win32_Foundation",
6363
"Win32_Networking_WinSock",
@@ -68,14 +68,14 @@ features = [
6868
# For the libc backend on Windows, also use the errno crate, which has Windows
6969
# support.
7070
[target.'cfg(windows)'.dependencies.libc_errno]
71-
version = "0.3.8"
71+
version = "0.3.10"
7272
package = "errno"
7373
default-features = false
7474

7575
[dev-dependencies]
7676
tempfile = "3.5.0"
7777
libc = "0.2.161"
78-
libc_errno = { package = "errno", version = "0.3.8", default-features = false }
78+
libc_errno = { package = "errno", version = "0.3.10", default-features = false }
7979
serial_test = "2.0.0"
8080
memoffset = "0.9.0"
8181
flate2 = "1.0"

0 commit comments

Comments
 (0)