Skip to content

Commit fc91cd8

Browse files
authored
clean up winapi features (RustPython#5141)
1 parent 459cad8 commit fc91cd8

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

stdlib/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,8 @@ widestring = { workspace = true }
112112
[target.'cfg(windows)'.dependencies.winapi]
113113
version = "0.3.9"
114114
features = [
115-
"winsock2", "handleapi", "ws2def", "std", "winbase", "wincrypt", "fileapi", "processenv",
116-
"namedpipeapi", "winnt", "processthreadsapi", "errhandlingapi", "winuser", "synchapi", "wincon",
117-
"impl-default", "vcruntime", "ifdef", "netioapi"
115+
"winsock2", "ws2def", "std", "wincrypt", "fileapi",
116+
"impl-default", "vcruntime", "ifdef", "netioapi", "profileapi",
118117
]
119118

120119
[target.'cfg(target_os = "macos")'.dependencies]

vm/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ features = [
139139
[target.'cfg(windows)'.dependencies.winapi]
140140
version = "0.3.9"
141141
features = [
142-
"winsock2", "handleapi", "ws2def", "std", "winbase", "wincrypt", "fileapi", "processenv",
143-
"namedpipeapi", "winnt", "processthreadsapi", "errhandlingapi", "winuser", "synchapi", "wincon",
144-
"impl-default", "vcruntime", "ifdef", "netioapi", "memoryapi", "profileapi", "sysinfoapi"
142+
"winsock2", "handleapi", "std", "winbase", "processenv",
143+
"winnt", "processthreadsapi", "errhandlingapi", "wincon",
144+
"impl-default", "vcruntime", "sysinfoapi",
145145
]
146146

147147
[target.'cfg(target_arch = "wasm32")'.dependencies]

0 commit comments

Comments
 (0)