@@ -41,25 +41,6 @@ Libraries
41
41
Stabilized APIs
42
42
---------------
43
43
44
- - [`ffi::CStr`](https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html)
45
- - [`ffi::CString`](https://doc.rust-lang.org/stable/std/ffi/struct.CString.html)
46
- - [`ffi::FromBytesWithNulError`](https://doc.rust-lang.org/stable/std/ffi/struct.FromBytesWithNulError.html)
47
- - [`ffi::FromVecWithNulError`](https://doc.rust-lang.org/stable/std/ffi/struct.FromVecWithNulError.html)
48
- - [`ffi::IntoStringError`](https://doc.rust-lang.org/stable/std/ffi/struct.IntoStringError.html)
49
- - [`ffi::NulError`](https://doc.rust-lang.org/stable/std/ffi/struct.NulError.html)
50
- - [`ffi::c_char`](https://doc.rust-lang.org/stable/std/ffi/type.c_char.html)
51
- - [`ffi::c_double`](https://doc.rust-lang.org/stable/std/ffi/type.c_double.html)
52
- - [`ffi::c_float`](https://doc.rust-lang.org/stable/std/ffi/type.c_float.html)
53
- - [`ffi::c_int`](https://doc.rust-lang.org/stable/std/ffi/type.c_int.html)
54
- - [`ffi::c_long`](https://doc.rust-lang.org/stable/std/ffi/type.c_long.html)
55
- - [`ffi::c_longlong`](https://doc.rust-lang.org/stable/std/ffi/type.c_longlong.html)
56
- - [`ffi::c_schar`](https://doc.rust-lang.org/stable/std/ffi/type.c_schar.html)
57
- - [`ffi::c_short`](https://doc.rust-lang.org/stable/std/ffi/type.c_short.html)
58
- - [`ffi::c_uchar`](https://doc.rust-lang.org/stable/std/ffi/type.c_uchar.html)
59
- - [`ffi::c_uint`](https://doc.rust-lang.org/stable/std/ffi/type.c_uint.html)
60
- - [`ffi::c_ulong`](https://doc.rust-lang.org/stable/std/ffi/type.c_ulong.html)
61
- - [`ffi::c_ulonglong`](https://doc.rust-lang.org/stable/std/ffi/type.c_ulonglong.html)
62
- - [`ffi::c_ushort`](https://doc.rust-lang.org/stable/std/ffi/type.c_ushort.html)
63
44
- [`future::IntoFuture`](https://doc.rust-lang.org/stable/std/future/trait.IntoFuture.html)
64
45
- [`future::poll_fn`](https://doc.rust-lang.org/stable/std/future/fn.poll_fn.html)
65
46
- [`task::ready!`](https://doc.rust-lang.org/stable/std/task/macro.ready.html)
@@ -80,6 +61,31 @@ Stabilized APIs
80
61
- [`os::windows::fs::FileTypeExt::is_symlink_dir`](https://doc.rust-lang.org/stable/std/os/windows/fs/trait.FileTypeExt.html#tymethod.is_symlink_dir)
81
62
- [`os::windows::fs::FileTypeExt::is_symlink_file`](https://doc.rust-lang.org/stable/std/os/windows/fs/trait.FileTypeExt.html#tymethod.is_symlink_file)
82
63
64
+ These types were previously stable in `std::ffi`, but are now also available in `core` and `alloc`:
65
+
66
+ - [`core::ffi::CStr`](https://doc.rust-lang.org/stable/core/ffi/struct.CStr.html)
67
+ - [`core::ffi::FromBytesWithNulError`](https://doc.rust-lang.org/stable/core/ffi/struct.FromBytesWithNulError.html)
68
+ - [`alloc::ffi::CString`](https://doc.rust-lang.org/stable/alloc/ffi/struct.CString.html)
69
+ - [`alloc::ffi::FromVecWithNulError`](https://doc.rust-lang.org/stable/alloc/ffi/struct.FromVecWithNulError.html)
70
+ - [`alloc::ffi::IntoStringError`](https://doc.rust-lang.org/stable/alloc/ffi/struct.IntoStringError.html)
71
+ - [`alloc::ffi::NulError`](https://doc.rust-lang.org/stable/alloc/ffi/struct.NulError.html)
72
+
73
+ These types were previously stable in `std::os::raw`, but are now also available in `core::ffi` and `std::ffi`:
74
+
75
+ - [`ffi::c_char`](https://doc.rust-lang.org/stable/std/ffi/type.c_char.html)
76
+ - [`ffi::c_double`](https://doc.rust-lang.org/stable/std/ffi/type.c_double.html)
77
+ - [`ffi::c_float`](https://doc.rust-lang.org/stable/std/ffi/type.c_float.html)
78
+ - [`ffi::c_int`](https://doc.rust-lang.org/stable/std/ffi/type.c_int.html)
79
+ - [`ffi::c_long`](https://doc.rust-lang.org/stable/std/ffi/type.c_long.html)
80
+ - [`ffi::c_longlong`](https://doc.rust-lang.org/stable/std/ffi/type.c_longlong.html)
81
+ - [`ffi::c_schar`](https://doc.rust-lang.org/stable/std/ffi/type.c_schar.html)
82
+ - [`ffi::c_short`](https://doc.rust-lang.org/stable/std/ffi/type.c_short.html)
83
+ - [`ffi::c_uchar`](https://doc.rust-lang.org/stable/std/ffi/type.c_uchar.html)
84
+ - [`ffi::c_uint`](https://doc.rust-lang.org/stable/std/ffi/type.c_uint.html)
85
+ - [`ffi::c_ulong`](https://doc.rust-lang.org/stable/std/ffi/type.c_ulong.html)
86
+ - [`ffi::c_ulonglong`](https://doc.rust-lang.org/stable/std/ffi/type.c_ulonglong.html)
87
+ - [`ffi::c_ushort`](https://doc.rust-lang.org/stable/std/ffi/type.c_ushort.html)
88
+
83
89
These APIs are now usable in const contexts:
84
90
85
91
- [`slice::from_raw_parts`](https://doc.rust-lang.org/stable/core/slice/fn.from_raw_parts.html)
0 commit comments