Skip to content

Commit 8e717c5

Browse files
authored
Unrolled build for #140418
Rollup merge of #140418 - tgross35:std-c-size_t, r=workingjubilee 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. Tracking issue: #88345
2 parents 868bf2d + 8db68da commit 8e717c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/std/src/ffi/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ pub use core::ffi::{
178178
c_char, c_double, c_float, c_int, c_long, c_longlong, c_schar, c_short, c_uchar, c_uint,
179179
c_ulong, c_ulonglong, c_ushort,
180180
};
181+
#[unstable(feature = "c_size_t", issue = "88345")]
182+
pub use core::ffi::{c_ptrdiff_t, c_size_t, c_ssize_t};
181183

182184
#[doc(inline)]
183185
#[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]

0 commit comments

Comments
 (0)