summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2019-09-30 16:02:01 -0400
committerAaron Hill <aa1ronham@gmail.com>2019-10-27 20:59:38 -0400
commit5dfc2c82854eede618f35c4511e941506f0e76d0 (patch)
treecfce2e74639a01d259e450108a32f4849b28762f /README.md
parent53bdffc028632907958bbd03ff88182b2b20a6cc (diff)
downloadrust-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.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5371916acf..dc1d6d05de 100644
--- a/README.md
+++ b/README.md
@@ -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