mirror of
https://github.com/openharmony/third_party_rust_linux-raw-sys.git
synced 2026-07-18 18:24:28 -04:00
Fix compilation under --all-features compilation.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user