diff options
author | Andrew Cann <shum@canndrew.org> | 2018-06-01 17:31:11 +0800 |
---|---|---|
committer | Andrew Cann <shum@canndrew.org> | 2018-06-01 17:31:11 +0800 |
commit | 0198ea0d76788654800f646de88d165813ad8f07 (patch) | |
tree | d3e80b7128aa2a5e5dc2aba57e1ab7b037be9f2f | |
parent | c460b376c22d9e73fad112194c02a133c92d6a03 (diff) | |
download | rust-libc-0198ea0d76788654800f646de88d165813ad8f07.tar.gz |
add const_fn feature
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index 9548083c22..489315cfda 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,7 @@ #![allow(bad_style, overflowing_literals, improper_ctypes)] #![crate_type = "rlib"] #![crate_name = "libc"] -#![cfg_attr(cross_platform_docs, feature(no_core, lang_items))] +#![cfg_attr(cross_platform_docs, feature(no_core, lang_items, const_fn))] #![cfg_attr(cross_platform_docs, no_core)] #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", html_favicon_url = "https://doc.rust-lang.org/favicon.ico")] |