Skip to content

Commit ca12725

Browse files
committed
Document platform support in the README
1 parent a17a91c commit ca12725

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,19 @@ Raw FFI bindings to platform libraries like `libc`.
88
[![Build Status](https://api.cirrus-ci.com/github/rust-lang/libc.svg)](https://cirrus-ci.com/github/rust-lang/libc)
99
[![Latest version](https://img.shields.io/crates/v/libc.svg)](https://crates.io/crates/libc)
1010
[![Documentation](https://docs.rs/libc/badge.svg)](https://docs.rs/libc)
11-
![License](https://img.shields.io/crates/l/libc.svg)
11+
![License](https://img.shields.io/crates/l/libc.svg**
12+
13+
**NOTE:** The minimum supported Rust version is **Rust 1.13.0** . APIs requiring
14+
newer Rust features are only available on newer Rust versions:
15+
16+
| Feature | Version |
17+
|-------------------------|---------|
18+
| `union` | 1.19.0 |
19+
| `const mem::size_of` | 1.24.0 |
20+
| `repr(align)` | 1.25.0 |
21+
| `core::ffi::c_void` | 1.30.0 |
22+
23+
To use `libc` at its fullest, Rust 1.30.0 is required.
1224

1325
## Usage
1426

0 commit comments

Comments
 (0)