Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #2845 - joshtriplett:version-handling, r=Amanieu
Remove most version detection and conditionals for older versions of Rust Per library team decision, drop most of the conditionals, simplifying the code substantially. Update the README accordingly. I left the conditional for 1.62, since that *just* shipped, and the conditional for 1.51 pending ratification of a libc MSRV policy. - Require rust >= 1.15 and drop libc_priv_mod_use conditional - Require rust >= 1.19 and drop libc_union conditional - Require rust >= 1.24 and drop libc_const_size_of conditional - Require rust >= 1.25 and drop libc_align conditional - Require rust >= 1.26 and drop libc_int128 conditional - Require rust >= 1.30 and drop libc_core_cvoid conditional - Require rust >= 1.33 and drop libc_packedN conditional - Require rust >= 1.33 and drop libc_cfg_target_vendor conditional - Require rust >= 1.37 and drop libc_underscore_const_names conditional - Require rust >= 1.40 and drop libc_non_exhaustive conditional - Remove array size hacks for Rust < 1.47 - README.md: Update version-dependent features Deferred while discussing libc MSRV policy: - Require rust >= 1.51 and drop libc_ptr_addr_of conditional - Require rust >= 1.62 and drop libc_const_extern_fn conditional
- Loading branch information
Showing
144 changed files
with
2,213 additions
and
3,878 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.