Skip to content

Commit a5dfaa3

Browse files
committedJan 7, 2024
Auto merge of #3525 - JohnTitor:rm-old-cfg-hacks, r=JohnTitor
Remove cfg hacks for old MSRV
2 parents b55a097 + 1ef7e87 commit a5dfaa3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1187
-2968
lines changed
 

‎Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ exclude = ["/ci/*", "/.github/*", "/.cirrus.yml", "/triagebot.toml"]
1414
description = """
1515
Raw FFI bindings to platform libraries like libc.
1616
"""
17+
rust-version = "1.71.0"
1718

1819
[package.metadata.docs.rs]
1920
features = ["const-extern-fn", "extra_traits"]

‎README.md

+2-14
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,9 @@ libc = "0.2"
5151

5252
## Rust version support
5353

54-
The minimum supported Rust toolchain version is currently **Rust 1.13.0**.
54+
The minimum supported Rust toolchain version is currently **Rust 1.71.0**
5555
(libc does not currently have any policy regarding changes to the minimum
56-
supported Rust version; such policy is a work in progress.) APIs requiring
57-
newer Rust features are only available on newer Rust toolchains:
58-
59-
| Feature | Version |
60-
|----------------------|---------|
61-
| `union` | 1.19.0 |
62-
| `const mem::size_of` | 1.24.0 |
63-
| `repr(align)` | 1.25.0 |
64-
| `extra_traits` | 1.25.0 |
65-
| `core::ffi::c_void` | 1.30.0 |
66-
| `repr(packed(N))` | 1.33.0 |
67-
| `cfg(target_vendor)` | 1.33.0 |
68-
| `const-extern-fn` | 1.62.0 |
56+
supported Rust version; such policy is a work in progress).
6957

7058
## Platform support
7159

0 commit comments

Comments
 (0)