1- [ ![ Azure Status]] [ Azure ] [ ![ Cirrus- CI Status]] [ Cirrus- CI ] [ ![ Latest Version]] [ crates.io ] [ ![ Documentation]] [ docs.rs ] ![ License]
1+ [ ![ Azure Status]] [ Azure ] [ ![ Cirrus CI Status]] [ Cirrus CI ] [ ![ Latest Version]] [ crates.io ] [ ![ Documentation]] [ docs.rs ] ![ License]
22
33libc - Raw FFI bindings to platforms' system libraries
44====
@@ -35,6 +35,9 @@ libc = "0.2"
3535* ` extra_traits ` : all ` struct ` s implemented in ` libc ` are ` Copy ` and ` Clone ` .
3636 This feature derives ` Debug ` , ` Eq ` , ` Hash ` , and ` PartialEq ` .
3737
38+ * ` const-extern-fn ` : Changes some ` extern fn ` s into ` const extern fn ` s.
39+ This features requires a nightly rustc
40+
3841* ** deprecated** : ` use_std ` is deprecated, and is equivalent to ` std ` .
3942
4043## Rust version support
@@ -47,9 +50,9 @@ newer Rust features are only available on newer Rust toolchains:
4750| ` union ` | 1.19.0 |
4851| ` const mem::size_of ` | 1.24.0 |
4952| ` repr(align) ` | 1.25.0 |
50- | ` extra_traits ` | 1.25.0 |
53+ | ` extra_traits ` | 1.25.0 |
5154| ` core::ffi::c_void ` | 1.30.0 |
52- | ` repr(packed(N)) ` | 1.33.0 |
55+ | ` repr(packed(N)) ` | 1.33.0 |
5356
5457## Platform support
5558
@@ -58,7 +61,7 @@ newer Rust features are only available on newer Rust toolchains:
5861See
5962[ ` ci/build.sh ` ] ( https://github.com/rust-lang/libc/blob/master/ci/build.sh )
6063for the platforms on which ` libc ` is guaranteed to build for each Rust
61- toolchain. The test-matrix at [ Azure] and [ Cirrus- CI] show the
64+ toolchain. The test-matrix at [ Azure] and [ Cirrus CI] show the
6265platforms in which ` libc ` tests are run.
6366
6467<div class =" platform_docs " ></div >
@@ -67,10 +70,10 @@ platforms in which `libc` tests are run.
6770
6871This project is licensed under either of
6972
70- * [ Apache License, Version 2.0] ( http ://www.apache.org/licenses/LICENSE-2.0)
73+ * [ Apache License, Version 2.0] ( https ://www.apache.org/licenses/LICENSE-2.0)
7174 ([ LICENSE-APACHE] ( LICENSE-APACHE ) )
7275
73- * [ MIT License] ( http ://opensource.org/licenses/MIT)
76+ * [ MIT License] ( https ://opensource.org/licenses/MIT)
7477 ([ LICENSE-MIT] ( LICENSE-MIT ) )
7578
7679at your option.
@@ -85,16 +88,16 @@ instructions] for more information.
8588Contributions in any form (issues, pull requests, etc.) to this project
8689must adhere to Rust's [ Code of Conduct] .
8790
88- [ Code of Conduct ] : https://www.rust-lang.org/en-US/ conduct.html
91+ [ Code of Conduct ] : https://www.rust-lang.org/policies/code-of- conduct
8992
9093Unless you explicitly state otherwise, any contribution intentionally submitted
9194for inclusion in ` libc ` by you, as defined in the Apache-2.0 license, shall be
9295dual licensed as above, without any additional terms or conditions.
9396
9497[ Azure Status ] : https://dev.azure.com/rust-lang2/libc/_apis/build/status/rust-lang.libc?branchName=master
9598[ Azure ] : https://dev.azure.com/rust-lang2/libc/_build/latest?definitionId=1&branchName=master
96- [ Cirrus- CI ] : https://cirrus-ci.com/github/rust-lang/libc
97- [ Cirrus- CI Status ] : https://api.cirrus-ci.com/github/rust-lang/libc.svg
99+ [ Cirrus CI ] : https://cirrus-ci.com/github/rust-lang/libc
100+ [ Cirrus CI Status ] : https://api.cirrus-ci.com/github/rust-lang/libc.svg
98101[ crates.io ] : https://crates.io/crates/libc
99102[ Latest Version ] : https://img.shields.io/crates/v/libc.svg
100103[ Documentation ] : https://docs.rs/libc/badge.svg
0 commit comments