Skip to content

Commit dbd3521

Browse files
Update windows-sys 0.52 (#935)
* 52 * Update to errno 0.3.8. --------- Co-authored-by: Dan Gohman <[email protected]>
1 parent 625c0e0 commit dbd3521

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", target_endian = "little", 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 = "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.11", default-features = false, features = ["general", "errno", "ioctl", "no_std", "elf"] }
40-
libc_errno = { package = "errno", version = "0.3.1", default-features = false, optional = true }
40+
libc_errno = { package = "errno", version = "0.3.8", default-features = false, optional = true }
4141
libc = { version = "0.2.150", default-features = false, features = ["extra_traits"], 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", target_endian = "little", 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 = "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.1", default-features = false }
48+
libc_errno = { package = "errno", version = "0.3.8", default-features = false }
4949
libc = { version = "0.2.150", default-features = false, features = ["extra_traits"] }
5050

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

5858
# For the libc backend on Windows, use the Winsock2 API in windows-sys.
5959
[target.'cfg(windows)'.dependencies.windows-sys]
60-
version = "0.48.0"
60+
version = "0.52.0"
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.1"
71+
version = "0.3.8"
7272
package = "errno"
7373
default-features = false
7474

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

0 commit comments

Comments
 (0)