We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 474b514 commit 3c16347Copy full SHA for 3c16347
compiler/generator/rust/rust_code_container.cpp
@@ -176,6 +176,8 @@ void RustCodeContainer::produceClass()
176
tab(n, *fOut);
177
*fOut << "#[cfg_attr(feature = \"default-boxed\", derive(default_boxed::DefaultBoxed))]";
178
179
+ *fOut << "#[repr(C)]";
180
+ tab(n, *fOut);
181
*fOut << "pub struct " << fKlassName << " {";
182
tab(n + 1, *fOut);
183
0 commit comments