Fix compilation under --all-features compilation.

This commit is contained in:
Dan Gohman
2021-11-04 09:01:16 -07:00
parent a782f144f4
commit a2c1baa204
+1 -1
View File
@@ -4,7 +4,7 @@
#[cfg(feature = "std")]
pub use std::os::raw as ctypes;
#[cfg(feature = "no_std")]
#[cfg(all(not(feature = "std"), feature = "no_std"))]
pub mod ctypes {
// The signedness of `char` is platform-specific, however a consequence
// of it being platform-specific is that any code which depends on the