Releases: dtolnay/cxx
Releases · dtolnay/cxx
1.0.174
01 Sep 20:57
Compare
Sorry, something went wrong.
No results found
Disable -Wshadow-field-in-constructor and -Wdollar-in-identifier-extension in generated code (#1591 , #1593 )
1.0.173
29 Aug 16:47
Compare
Sorry, something went wrong.
No results found
Allow static associated functions with the same name on different Self types (#1585 )
Deprecate extern shared struct syntax in favor of ExternType impl (#1586 )
+ use cxx::ExternType;
+
+ #[repr(C)]
+ pub struct Struct {
+ ...
+ }
+
+ unsafe impl ExternType for Struct {
+ type Id = cxx::type_id!("path::to::Struct");
+ type Kind = cxx::kind::Trivial;
+ }
+
#[cxx::bridge]
pub mod ffi {
- struct Struct {
- ...
- }
-
#[namespace = "path::to"]
- unsafe extern "C++" {
+ extern "C++" {
include!("...");
- type Struct;
+ type Struct = crate::Struct;
}
}
1.0.172
29 Aug 15:23
Compare
Sorry, something went wrong.
No results found
Improve panic location reported by SharedPtr::from_raw (#1581 )
Support UniquePtr and SharedPtr with array types (#1582 )
1.0.171
29 Aug 03:29
Compare
Sorry, something went wrong.
No results found
Support shared ptr with not destructible T (#1579 )
1.0.170
27 Aug 06:09
Compare
Sorry, something went wrong.
No results found
1.0.169
25 Aug 18:54
Compare
Sorry, something went wrong.
No results found
Update foldhash dependency to 0.2
1.0.168
10 Aug 04:15
Compare
Sorry, something went wrong.
No results found
1.0.167
10 Aug 02:58
Compare
Sorry, something went wrong.
No results found
Improve SharedPtr documentation (#1569 )
Add SharedPtr::from_raw and impl From<UniquePtr<T>> for SharedPtr<T> (#1005 , #1568 )
Add SharedPtr::pin_mut_unchecked, SharedPtr::as_ptr, SharedPtr::as_mut_ptr (#1570 )
1.0.166
09 Aug 19:40
Compare
Sorry, something went wrong.
No results found
Support #[repr(align(…))] attribute on shared structs (#902 , #1567 , thanks @mxxo )
1.0.165
08 Aug 01:18
Compare
Sorry, something went wrong.
No results found
You can’t perform that action at this time.