@@ -31,25 +31,6 @@ Libraries
3131Stabilized APIs
3232---------------
3333
34- - [`ffi::CStr`](https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html)
35- - [`ffi::CString`](https://doc.rust-lang.org/stable/std/ffi/struct.CString.html)
36- - [`ffi::FromBytesWithNulError`](https://doc.rust-lang.org/stable/std/ffi/struct.FromBytesWithNulError.html)
37- - [`ffi::FromVecWithNulError`](https://doc.rust-lang.org/stable/std/ffi/struct.FromVecWithNulError.html)
38- - [`ffi::IntoStringError`](https://doc.rust-lang.org/stable/std/ffi/struct.IntoStringError.html)
39- - [`ffi::NulError`](https://doc.rust-lang.org/stable/std/ffi/struct.NulError.html)
40- - [`ffi::c_char`](https://doc.rust-lang.org/stable/std/ffi/type.c_char.html)
41- - [`ffi::c_double`](https://doc.rust-lang.org/stable/std/ffi/type.c_double.html)
42- - [`ffi::c_float`](https://doc.rust-lang.org/stable/std/ffi/type.c_float.html)
43- - [`ffi::c_int`](https://doc.rust-lang.org/stable/std/ffi/type.c_int.html)
44- - [`ffi::c_long`](https://doc.rust-lang.org/stable/std/ffi/type.c_long.html)
45- - [`ffi::c_longlong`](https://doc.rust-lang.org/stable/std/ffi/type.c_longlong.html)
46- - [`ffi::c_schar`](https://doc.rust-lang.org/stable/std/ffi/type.c_schar.html)
47- - [`ffi::c_short`](https://doc.rust-lang.org/stable/std/ffi/type.c_short.html)
48- - [`ffi::c_uchar`](https://doc.rust-lang.org/stable/std/ffi/type.c_uchar.html)
49- - [`ffi::c_uint`](https://doc.rust-lang.org/stable/std/ffi/type.c_uint.html)
50- - [`ffi::c_ulong`](https://doc.rust-lang.org/stable/std/ffi/type.c_ulong.html)
51- - [`ffi::c_ulonglong`](https://doc.rust-lang.org/stable/std/ffi/type.c_ulonglong.html)
52- - [`ffi::c_ushort`](https://doc.rust-lang.org/stable/std/ffi/type.c_ushort.html)
5334- [`future::IntoFuture`](https://doc.rust-lang.org/stable/std/future/trait.IntoFuture.html)
5435- [`future::poll_fn`](https://doc.rust-lang.org/stable/std/future/fn.poll_fn.html)
5536- [`task::ready!`](https://doc.rust-lang.org/stable/std/task/macro.ready.html)
@@ -70,6 +51,31 @@ Stabilized APIs
7051- [`os::windows::fs::FileTypeExt::is_symlink_dir`](https://doc.rust-lang.org/stable/std/os/windows/fs/trait.FileTypeExt.html#tymethod.is_symlink_dir)
7152- [`os::windows::fs::FileTypeExt::is_symlink_file`](https://doc.rust-lang.org/stable/std/os/windows/fs/trait.FileTypeExt.html#tymethod.is_symlink_file)
7253
54+ These types were previously stable in `std::ffi`, but are now also available in `core` and `alloc`:
55+
56+ - [`core::ffi::CStr`](https://doc.rust-lang.org/stable/core/ffi/struct.CStr.html)
57+ - [`core::ffi::FromBytesWithNulError`](https://doc.rust-lang.org/stable/core/ffi/struct.FromBytesWithNulError.html)
58+ - [`alloc::ffi::CString`](https://doc.rust-lang.org/stable/alloc/ffi/struct.CString.html)
59+ - [`alloc::ffi::FromVecWithNulError`](https://doc.rust-lang.org/stable/alloc/ffi/struct.FromVecWithNulError.html)
60+ - [`alloc::ffi::IntoStringError`](https://doc.rust-lang.org/stable/alloc/ffi/struct.IntoStringError.html)
61+ - [`alloc::ffi::NulError`](https://doc.rust-lang.org/stable/alloc/ffi/struct.NulError.html)
62+
63+ These types were previously stable in `std::os::raw`, but are now also available in `core::ffi` and `std::ffi`:
64+
65+ - [`ffi::c_char`](https://doc.rust-lang.org/stable/std/ffi/type.c_char.html)
66+ - [`ffi::c_double`](https://doc.rust-lang.org/stable/std/ffi/type.c_double.html)
67+ - [`ffi::c_float`](https://doc.rust-lang.org/stable/std/ffi/type.c_float.html)
68+ - [`ffi::c_int`](https://doc.rust-lang.org/stable/std/ffi/type.c_int.html)
69+ - [`ffi::c_long`](https://doc.rust-lang.org/stable/std/ffi/type.c_long.html)
70+ - [`ffi::c_longlong`](https://doc.rust-lang.org/stable/std/ffi/type.c_longlong.html)
71+ - [`ffi::c_schar`](https://doc.rust-lang.org/stable/std/ffi/type.c_schar.html)
72+ - [`ffi::c_short`](https://doc.rust-lang.org/stable/std/ffi/type.c_short.html)
73+ - [`ffi::c_uchar`](https://doc.rust-lang.org/stable/std/ffi/type.c_uchar.html)
74+ - [`ffi::c_uint`](https://doc.rust-lang.org/stable/std/ffi/type.c_uint.html)
75+ - [`ffi::c_ulong`](https://doc.rust-lang.org/stable/std/ffi/type.c_ulong.html)
76+ - [`ffi::c_ulonglong`](https://doc.rust-lang.org/stable/std/ffi/type.c_ulonglong.html)
77+ - [`ffi::c_ushort`](https://doc.rust-lang.org/stable/std/ffi/type.c_ushort.html)
78+
7379These APIs are now usable in const contexts:
7480
7581- [`slice::from_raw_parts`](https://doc.rust-lang.org/stable/core/slice/fn.from_raw_parts.html)
0 commit comments