File: no-windows.patch

package info (click to toggle)
rust-hidapi 2.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: makefile: 4
file content (31 lines) | stat: -rw-r--r-- 1,170 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
Last-Updated: 2025-08-08
Author: Blair Noctis <ncts@debian.org>
Forwarded: not-needed
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -103,11 +103,11 @@
-windows-native = [
-    "windows-sys/Win32_Devices_DeviceAndDriverInstallation",
-    "windows-sys/Win32_Devices_HumanInterfaceDevice",
-    "windows-sys/Win32_Devices_Properties",
-    "windows-sys/Win32_Security",
-    "windows-sys/Win32_Storage_EnhancedStorage",
-    "windows-sys/Win32_Storage_FileSystem",
-    "windows-sys/Win32_System_IO",
-    "windows-sys/Win32_System_Threading",
-    "windows-sys/Win32_UI_Shell_PropertiesSystem",
-]
+#windows-native = [
+#    "windows-sys/Win32_Devices_DeviceAndDriverInstallation",
+#    "windows-sys/Win32_Devices_HumanInterfaceDevice",
+#    "windows-sys/Win32_Devices_Properties",
+#    "windows-sys/Win32_Security",
+#    "windows-sys/Win32_Storage_EnhancedStorage",
+#    "windows-sys/Win32_Storage_FileSystem",
+#    "windows-sys/Win32_System_IO",
+#    "windows-sys/Win32_System_Threading",
+#    "windows-sys/Win32_UI_Shell_PropertiesSystem",
+#]
@@ -128 +128 @@
-[target."cfg(windows)".dependencies.windows-sys]
+[disabled.target."cfg(windows)".dependencies.windows-sys]