You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was fixing alexcrichton#279.
All current usage of __builtin_available(...) in curl detects for APIs
older than macOS 10.12, which is Rust's currently minimum supported
version. This means that they are no-ops, and thus no longer emit a
symbol that we need to link.
Additionally, Rust's `std` has recently introduced these symbols in its
standard library, see rust-lang/rust#138944.
This means that even if curl _were_ to start using __builtin_available
with a check for a newer macOS version, it would still successfully link
(at least when using Rust 1.91.0 or newer).
Finally, curl has supported the cfg option HAVE_BUILTIN_AVAILABLE for a
while now, so if there ever does come a point where this starts having
problems again, we can just disable that define.
0 commit comments