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:
Trevor Gross 2025-04-28 19:57:44 -04:00
parent 25cdf1f674
commit 8db68dafc7

View file

@ -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")]