From c9bfc99c720ed091c326c1cce58fcd8197306235 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 3 Dec 2021 09:35:03 -0800 Subject: [PATCH] Unvendor OpenSSL for Windows to avoid CI troubles with perl.exe --- storage-bigtable/Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/storage-bigtable/Cargo.toml b/storage-bigtable/Cargo.toml index c1d853c6291ec8..96cc2705d50625 100644 --- a/storage-bigtable/Cargo.toml +++ b/storage-bigtable/Cargo.toml @@ -32,8 +32,13 @@ zstd = "0.9.0" # openssl is a dependency of the goauth and smpl_jwt crates, but explicitly # declare it here as well to activate the "vendored" feature that builds OpenSSL -# statically +# statically... +[target."cfg(not(windows))".dependencies] openssl = { version = "0.10", features = ["vendored"] } +# ...except on Windows to avoid having to deal with getting CI past a build-time +# Perl dependency +[target."cfg(windows)".dependencies] +openssl = { version = "0.10", features = [] } [lib] crate-type = ["lib"]