mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2025-02-20 08:33:26 +00:00
Match layout of C++ tests::E and struct E in Rust
This commit is contained in:
parent
ca0f9da832
commit
441956e803
@ -21,8 +21,8 @@ mod other {
|
||||
|
||||
#[repr(C)]
|
||||
pub struct E {
|
||||
e_str: CxxString,
|
||||
e: u64,
|
||||
e_str: CxxString,
|
||||
}
|
||||
|
||||
unsafe impl ExternType for D {
|
||||
|
Loading…
x
Reference in New Issue
Block a user