Releases: dtolnay/cxx
Releases · dtolnay/cxx
1.0.36
1.0.35
1.0.34
- Support raw pointers in FFI signatures – https://cxx.rs/binding/rawptr.html (#689, thanks @adetaylor)
1.0.33
1.0.32
- Disallow placing an ineffective
Drop
impl on shared structs (#708, #711) - Support expanding
type_id!
macro inside of crates that have the cxx crate imported under a different name (#712) - Prevent rvalue instance of
String
,Str
,Slice
,Box
,Vec
as lhs of an assignment operator (#698) - Minor improvement to diagnostic placement on APIs without a handwritten visibility (#710)
- Ship license files in the cxxbridge-flags implementation detail crate (#717, thanks @khardix)
1.0.31
1.0.30
1.0.29
1.0.28
1.0.27
-
Implement lifetime elision for member function receivers (#660, #661)
#[cxx::bridge] mod ffi { unsafe extern "C++" { type Object<'a>; fn f(self: &Object); // elided lifetimes equivalent to `fn f<'a, 'b>(self: &'a Object<'b>)` fn g(self: Pin<&mut Object>); // elided lifetimes equivalent to `fn g<'a, 'b>(self: Pin<&'a mut Object<'b>>)` } }
-
Support
Vec<&str>
type (#662) -
Improve error messages when failing to parse an extern fn (#659)