no_std attributes
This commit is contained in:
parent
aaa28a8e2e
commit
2c23788471
|
@ -6,6 +6,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
#![cfg_attr(not(feature = "std"), no_std)]
|
||||||
|
|
||||||
#[cfg(feature="libc")]
|
#[cfg(feature="libc")]
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub extern crate libc;
|
pub extern crate libc;
|
||||||
|
|
Loading…
Reference in New Issue