File: no-windows.diff

package info (click to toggle)
rust-rustix 1.0.8-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,332 kB
  • sloc: makefile: 2
file content (40 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: Remove Windows dep
Author: John Goerzen <jgoerzen@complete.org>
Last-Update: 2023-05-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -234,20 +234,20 @@
 default-features = false
 package = "errno"
 
-[target."cfg(windows)".dependencies.libc_errno]
-version = "0.3.10"
-default-features = false
-package = "errno"
+#[target."cfg(windows)".dependencies.libc_errno]
+#version = "0.3.10"
+#default-features = false
+#package = "errno"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52, <0.61"
-features = [
-    "Win32_Foundation",
-    "Win32_Networking_WinSock",
-]
+#[target."cfg(windows)".dependencies.windows-sys]
+#version = ">=0.52, <0.61"
+#features = [
+#    "Win32_Foundation",
+#    "Win32_Networking_WinSock",
+#]
 
-[target."cfg(windows)".dev-dependencies.once_cell]
-version = "1.20.3"
+#[target."cfg(windows)".dev-dependencies.once_cell]
+#version = "1.20.3"
 
 [lints.rust.unexpected_cfgs]
 level = "warn"