Bug 1876386 - Update workspace hack to windows-sys 0.52. r=firefox-build-system-reviewers,ahochheiden

After bug 1876372, tokio is the last user of windows-sys 0.48, so we
don't really need to account for window-sys 0.48 in the workspace hack
anymore. We do however need to account for windows-sys 0.52.

Differential Revision: https://phabricator.services.mozilla.com/D199582
This commit is contained in:
Mike Hommey 2024-01-26 00:08:29 +00:00
Родитель c8abfb58f9
Коммит f3e6713bec
2 изменённых файлов: 14 добавлений и 2 удалений

2
Cargo.lock сгенерированный
Просмотреть файл

@ -3695,7 +3695,7 @@ dependencies = [
"url",
"uuid",
"winapi",
"windows-sys 0.48.999",
"windows-sys 0.52.0",
]
[[package]]

Просмотреть файл

@ -50,7 +50,6 @@ uuid = { version = "1", features = ["serde", "v4"], optional = true }
[target."cfg(windows)".dependencies]
scopeguard = { version = "1", optional = true }
windows-sys = { version = "0.48", features = ["Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Com", "Win32_System_Memory", "Win32_System_Pipes", "Win32_System_SystemServices", "Win32_System_Threading"], optional = true }
[build-dependencies]
bindgen = { version = "0.69", default-features = false, features = ["runtime"], optional = true }
@ -157,6 +156,19 @@ features = [
"wtypesbase",
]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.52"
optional = true
features = [
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Com",
"Win32_System_Memory",
"Win32_System_Pipes",
"Win32_System_SystemServices",
"Win32_System_Threading"
]
[features]
builtins-static = ["dep:bindgen", "dep:bitflags", "dep:memchr", "dep:nom", "dep:regex", "dep:smallvec"]
geckodriver = ["dep:bitflags", "dep:bytes", "dep:cc", "dep:chrono", "dep:flate2", "dep:futures-channel", "dep:futures-core", "dep:futures-sink", "dep:futures-util", "dep:getrandom", "dep:hashbrown", "dep:hyper", "dep:indexmap", "dep:log", "dep:memchr", "dep:mio", "dep:num-integer", "dep:num-traits", "dep:once_cell", "dep:regex", "dep:semver", "dep:serde_json", "dep:smallvec", "dep:time", "dep:tokio", "dep:tokio-util", "dep:tracing", "dep:url", "dep:uuid", "dep:windows-sys"]