[Pre-RFC] target-glibc: Proposal to add native support for GLIBC versions for the -gnu targets
Rust Internals [Unofficial]
May 7, 2026
github.com/rust-lang/rfcs
RFC: cfg_target_version (#3750)
master ← ChrisDenton:os-min-version
opened 11:09AM - 27 Dec 24 UTC
ChrisDenton
+194 -0
This RFC builds on the work of @rylev and @chriswailes. As suggested by @tmandr…y I have stripped it down to an MVP that just adds target_version (aka os_version_min in previous RFCs). Rendered
By the way rather than shipping stub libraties directly, it is possible to use raw-dylib on ELF too on nightly. This allows specifying the exact symbol version you want to link against.
Discussion in the ATmosphere