diff options
author | Daniel Mueller <deso@posteo.net> | 2019-11-01 07:42:33 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-11-01 07:42:33 -0700 |
commit | 49be10a8179165d24bbb8eb3490c4ca6f94b42c4 (patch) | |
tree | 642978648e57ba8b162a7378e8754df85ca83b37 /libc/src/lib.rs | |
parent | 9f3991a74fa5124e298582afa60b229dd005be40 (diff) | |
download | nitrocli-49be10a8179165d24bbb8eb3490c4ca6f94b42c4.tar.gz nitrocli-49be10a8179165d24bbb8eb3490c4ca6f94b42c4.tar.bz2 |
Update libc crate to 0.2.66
This change updates the libc crate to version 0.2.66.
Import subrepo libc/:libc at 4f11029a68040c90acf771976b019c1ef273a8cd
Diffstat (limited to 'libc/src/lib.rs')
-rw-r--r-- | libc/src/lib.rs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libc/src/lib.rs b/libc/src/lib.rs index 6c2e6c8..0b1496a 100644 --- a/libc/src/lib.rs +++ b/libc/src/lib.rs @@ -14,8 +14,14 @@ //! [pd]: https://rust-lang.github.io/libc/#platform-specific-documentation #![crate_name = "libc"] #![crate_type = "rlib"] -#![cfg_attr(not(feature = "rustc-dep-of-std"), deny(warnings))] -#![allow(bad_style, overflowing_literals, improper_ctypes, unknown_lints)] +#![cfg_attr(libc_deny_warnings, deny(warnings))] +#![allow( + bad_style, + overflowing_literals, + improper_ctypes, + unknown_lints, + redundant_semicolon +)] // Attributes needed when building as part of the standard library #![cfg_attr( feature = "rustc-dep-of-std", @@ -28,6 +34,7 @@ #![no_std] #![cfg_attr(feature = "rustc-dep-of-std", no_core)] #![cfg_attr(target_os = "redox", feature(static_nobundle))] +#![cfg_attr(libc_const_extern_fn, feature(const_extern_fn))] #[macro_use] mod macros; |