Releases: dtolnay/cxx
Releases · dtolnay/cxx
1.0.46
Fix some Clippy lint warnings appearing in generated code (#843 , #844 )
1.0.45
Add push
and pop
functionality to CxxVector
in Rust (#778 )
1.0.44
Fix placement of C++ documentation comments on member functions of shared types and extern Rust types (#829 )
Support inner attributes, like #![deny(missing_docs)]
, inside FFI module (#833 )
1.0.43
Fix noncompilable call operator for rust::Fn with a non-const reference argument (#738 )
Fix noncompilable Rust code relating to function pointers with Rust lifetimes in the argument types (#739 )
Add diagnostic for invalid use of 'static as a lifetime parameter name (#811 )
1.0.42
Improve error message placement from cxx-build or cxxbridge CLI for files that fail to lex (#801 , dtolnay/proc-macro2#283 , dtolnay/syn#1006 )
Fix non-compilable Rust code generated for unique ptrs containing C++ type with lifetime that is elided (#805 )
1.0.41
Detect unsound signatures involving mutable slices in C++ function return position (#794 )
Fix noncompilable Rust code generated for pinned mutable reference to extern type alias in return position (#799 )
1.0.40
Permit C++ to safely construct an empty Rust slice using a null data pointer (#789 )
Debug assert that nonempty slices are not constructed with a null data ptr from C++ (#788 )
Fix a missing stdexcept
#include for code containing Rust slices or vectors (#791 )
1.0.39
Improve diagnostic placement for compile errors inside of implicitly generated shim trait impls (#786 )
1.0.38
Support reference return type on a fallible extern "Rust"
function (#782 )
Fix non-compilable code generated in the case of arguments of pinned reference type pointing to an extern type alias (#785 )
1.0.37
Relax some restrictions on references in return position of functions with explicit lifetime annotations (#763 , #764 , #765 )
Fix non-compilable generated code when using a shared type containing String across multiple ffi modules (#771 )
Fix an unused variable warning in generated code when using Vec or String other than in a function argument position (#772 )
You can’t perform that action at this time.