ports/lang/rust/files/patch-vendor_git2-0.19.0_src_lib.rs
Mikael Urankar 11e425bbfd lang/rust: Update to 1.86.0
Announce:	https://blog.rust-lang.org/2025/04/03/Rust-1.86.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.86.0

Put back rustdoc in _RUST_TOOLS, rustdoc is an integral part of cargo
and has no connection with DOCS.

PR:		285381,285840
Tested by:	mikael,pkubaj
2025-04-08 10:41:10 +02:00

18 lines
481 B
Rust

--- vendor/git2-0.20.0/src/lib.rs.orig 2025-02-21 20:02:44 UTC
+++ vendor/git2-0.20.0/src/lib.rs
@@ -759,6 +759,7 @@ fn init() {
unix,
not(target_os = "macos"),
not(target_os = "ios"),
+ not(target_os = "freebsd"),
feature = "https"
))]
fn openssl_env_init() {
@@ -880,6 +881,7 @@ fn openssl_env_init() {
windows,
target_os = "macos",
target_os = "ios",
+ target_os = "freebsd",
not(feature = "https")
))]
fn openssl_env_init() {}