Reexport types from c_size_t in std
These are unstably available in `core` and should be in `std` too, but are not currently reexported. Resolve this here.
This commit is contained in:
parent
25cdf1f674
commit
8db68dafc7
1 changed files with 2 additions and 0 deletions
|
|
@ -178,6 +178,8 @@ pub use core::ffi::{
|
|||
c_char, c_double, c_float, c_int, c_long, c_longlong, c_schar, c_short, c_uchar, c_uint,
|
||||
c_ulong, c_ulonglong, c_ushort,
|
||||
};
|
||||
#[unstable(feature = "c_size_t", issue = "88345")]
|
||||
pub use core::ffi::{c_ptrdiff_t, c_size_t, c_ssize_t};
|
||||
|
||||
#[doc(inline)]
|
||||
#[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue