From 05ca98e2ce1fd54d07e22b62c35c7c7416d1c268 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 24 Aug 2024 13:02:23 -0700 Subject: [PATCH] Unbreak windows build of buck2_client_ctx Summary: There is code in buck2_client_ctx that only works if winapi's "std" feature is enabled. But this is not a default feature, and is not enabled by the "everything" feature. Reviewed By: zertosh Differential Revision: D61760500 fbshipit-source-id: 2f51e2d81c4d6373deafc841562ad4e4e9bc3c48 --- shim/third-party/rust/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shim/third-party/rust/Cargo.toml b/shim/third-party/rust/Cargo.toml index f3aff5c9e95d5..01d5295276d7d 100644 --- a/shim/third-party/rust/Cargo.toml +++ b/shim/third-party/rust/Cargo.toml @@ -222,7 +222,7 @@ walkdir = "2.3.2" which = "4.3.0" whoami = "1.5.1" windows_x86_64_msvc = "=0.48.0" # our fixup only works if we are on precisely 0.48.0 -winapi = { version = "0.3", features = ["everything"] } +winapi = { version = "0.3", features = ["everything", "std"] } x509-parser = { version = "0.14.0", features = ["verify"] } xattr = "0.2.2" zip = "0.5"