Match layout of C++ tests::E and struct E in Rust

This commit is contained in:
David Tolnay 2020-10-16 13:21:51 -07:00
parent ca0f9da832
commit 441956e803
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -21,8 +21,8 @@ mod other {
#[repr(C)]
pub struct E {
e_str: CxxString,
e: u64,
e_str: CxxString,
}
unsafe impl ExternType for D {