no_std attributes

This commit is contained in:
Robert Habermeier 2018-02-06 12:56:51 +01:00
parent aaa28a8e2e
commit 2c23788471
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(feature="libc")]
#[doc(hidden)]
pub extern crate libc;