diff options
author | Aaron Hill <aa1ronham@gmail.com> | 2019-09-30 16:02:01 -0400 |
---|---|---|
committer | Aaron Hill <aa1ronham@gmail.com> | 2019-10-27 20:59:38 -0400 |
commit | 5dfc2c82854eede618f35c4511e941506f0e76d0 (patch) | |
tree | cfce2e74639a01d259e450108a32f4849b28762f /README.md | |
parent | 53bdffc028632907958bbd03ff88182b2b20a6cc (diff) | |
download | rust-libc-5dfc2c82854eede618f35c4511e941506f0e76d0.tar.gz |
Add support for declaring 'const fn'
Add a new feature to enable this, since `const extern fn`
support is unstable
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -35,6 +35,9 @@ libc = "0.2" * `extra_traits`: all `struct`s implemented in `libc` are `Copy` and `Clone`. This feature derives `Debug`, `Eq`, `Hash`, and `PartialEq`. +* `const-extern-fn`: Changes some `extern fn`s into `const extern fn`s. + This features requires a nightly rustc + * **deprecated**: `use_std` is deprecated, and is equivalent to `std`. ## Rust version support |