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 262e32b commit c67994aCopy full SHA for c67994a
active/0000-undefined-struct-layout.md
@@ -162,6 +162,10 @@ extern {
162
# Unresolved questions
163
164
- How does this interact with binary compatibility of dynamic libraries?
165
+- How does this interact with DST, where some fields have to be at the
166
+ end of a struct? (Just always lay-out unsized fields last?
167
+ (i.e. after monomorphisation if a field was originally marked
168
+ `Sized?` then it needs to be last).)
169
- Should the lint apply to C-compatible functions defined in Rust like
170
`extern "C" fn foo(x: UnspecifiedLayout)`? (The equivalent lint for
171
enums does not pick up this case.)
0 commit comments