@@ -44,6 +44,7 @@ Stabilized APIs
4444- [`Result::unwrap_unchecked`]
4545- [`Result::unwrap_err_unchecked`]
4646- [`NonZero{unsigned}::is_power_of_two`]
47+ - [`File::options`]
4748
4849These APIs are now usable in const contexts:
4950
@@ -141,6 +142,7 @@ and related tools.
141142[`Result::unwrap_unchecked`]: https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.unwrap_unchecked
142143[`Result::unwrap_err_unchecked`]: https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.unwrap_err_unchecked
143144[`NonZero{unsigned}::is_power_of_two`]: https://doc.rust-lang.org/stable/std/num/struct.NonZeroU8.html#method.is_power_of_two
145+ [`File::options`]: https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.options
144146[`unix::process::ExitStatusExt::core_dumped`]: https://doc.rust-lang.org/stable/std/os/unix/process/trait.ExitStatusExt.html#tymethod.core_dumped
145147[`unix::process::ExitStatusExt::stopped_signal`]: https://doc.rust-lang.org/stable/std/os/unix/process/trait.ExitStatusExt.html#tymethod.stopped_signal
146148[`unix::process::ExitStatusExt::continued`]: https://doc.rust-lang.org/stable/std/os/unix/process/trait.ExitStatusExt.html#tymethod.continued
@@ -2588,6 +2590,11 @@ Language
25882590- [Visibility modifiers (e.g. `pub`) are now syntactically allowed on trait items and
25892591 enum variants.][66183] These are still rejected semantically, but
25902592 can be seen and parsed by procedural macros and conditional compilation.
2593+ - [You can now define a Rust `extern "C"` function with `Box<T>` and use `T*` as the corresponding
2594+ type on the C side.][62514] Please see [the documentation][box-memory-layout] for more information,
2595+ including the important caveat about preferring to avoid `Box<T>` in Rust signatures for functions defined in C.
2596+
2597+ [box-memory-layout]: https://doc.rust-lang.org/std/boxed/index.html#memory-layout
25912598
25922599Compiler
25932600--------
@@ -2662,6 +2669,7 @@ Compatibility Notes
26622669
26632670[54733]: https://github.com/rust-lang/rust/pull/54733/
26642671[61351]: https://github.com/rust-lang/rust/pull/61351/
2672+ [62514]: https://github.com/rust-lang/rust/pull/62514/
26652673[67255]: https://github.com/rust-lang/rust/pull/67255/
26662674[66661]: https://github.com/rust-lang/rust/pull/66661/
26672675[66771]: https://github.com/rust-lang/rust/pull/66771/
0 commit comments