diff options
author | David Tolnay <dtolnay@gmail.com> | 2022-10-21 09:14:16 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2022-10-21 09:18:48 -0700 |
commit | 152b89b08bf3ea92804518c1cf311a24e2849bd8 (patch) | |
tree | 3de32384015ec44b9680292049141a40747413e6 /src | |
parent | 8b7643b9335abfab5c7343e68036d10b447e35f9 (diff) | |
download | cxx-152b89b08bf3ea92804518c1cf311a24e2849bd8.tar.gz |
No-std fixes for Box, String, Pin, c_char
Diffstat (limited to 'src')
-rw-r--r-- | src/c_char.rs | 3 | ||||
-rw-r--r-- | src/lib.rs | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/c_char.rs b/src/c_char.rs index a0d41803..333d8491 100644 --- a/src/c_char.rs +++ b/src/c_char.rs @@ -1,5 +1,4 @@ -#![cfg(feature = "alloc")] - +#[allow(missing_docs)] pub type c_char = c_char_definition::c_char; // Validate that our definition is consistent with libstd's definition, without @@ -490,6 +490,7 @@ pub type Vector<T> = CxxVector<T>; // Not public API. #[doc(hidden)] pub mod private { + pub use crate::c_char::c_char; pub use crate::cxx_vector::VectorElement; pub use crate::extern_type::{verify_extern_kind, verify_extern_type}; pub use crate::function::FatFunction; |