diff options
author | Yuki Okushi <jtitor@2k36.org> | 2022-06-08 17:40:08 +0900 |
---|---|---|
committer | Yuki Okushi <jtitor@2k36.org> | 2022-06-08 17:42:05 +0900 |
commit | 576f77814cff61d0ed7e30f2a7d0f0f696001bd5 (patch) | |
tree | e59d16110d1a88a04ae4955c8bdd25a8b4a98226 /README.md | |
parent | e534fd88e3b33f45937700b7f50ab02a34fffe2a (diff) | |
download | rust-libc-576f77814cff61d0ed7e30f2a7d0f0f696001bd5.tar.gz |
Enable `libc_const_extern_fn` implicitly from Rust 1.62
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -35,7 +35,8 @@ libc = "0.2" This feature derives `Debug`, `Eq`, `Hash`, and `PartialEq`. * `const-extern-fn`: Changes some `extern fn`s into `const extern fn`s. - This feature requires a nightly rustc. + If you use Rust >= 1.62, this feature is implicitly enabled. + Otherwise it requires a nightly rustc. * **deprecated**: `use_std` is deprecated, and is equivalent to `std`. @@ -53,6 +54,7 @@ newer Rust features are only available on newer Rust toolchains: | `core::ffi::c_void` | 1.30.0 | | `repr(packed(N))` | 1.33.0 | | `cfg(target_vendor)` | 1.33.0 | +| `const-extern-fn` | 1.62.0 | ## Platform support |