File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2588,6 +2588,11 @@ Language
2588
2588
- [Visibility modifiers (e.g. `pub`) are now syntactically allowed on trait items and
2589
2589
enum variants.][66183] These are still rejected semantically, but
2590
2590
can be seen and parsed by procedural macros and conditional compilation.
2591
+ - [You can now define a Rust `extern "C"` function with `Box<T>` and use `T*` as the corresponding
2592
+ type on the C side.][62514] Please see [the documentation][box-memory-layout] for more information,
2593
+ including the important caveat about preferring to avoid `Box<T>` in Rust signatures for functions defined in C.
2594
+
2595
+ [box-memory-layout]: https://doc.rust-lang.org/std/boxed/index.html#memory-layout
2591
2596
2592
2597
Compiler
2593
2598
--------
@@ -2662,6 +2667,7 @@ Compatibility Notes
2662
2667
2663
2668
[54733]: https://github.com/rust-lang/rust/pull/54733/
2664
2669
[61351]: https://github.com/rust-lang/rust/pull/61351/
2670
+ [62514]: https://github.com/rust-lang/rust/pull/62514/
2665
2671
[67255]: https://github.com/rust-lang/rust/pull/67255/
2666
2672
[66661]: https://github.com/rust-lang/rust/pull/66661/
2667
2673
[66771]: https://github.com/rust-lang/rust/pull/66771/
You can’t perform that action at this time.
0 commit comments