diff --git a/doc/langref.html.in b/doc/langref.html.in index 4dd058c37c2d..091ba8ad2773 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -2127,6 +2127,8 @@ test "linked list" { {#header_open|extern struct#}

An {#syntax#}extern struct{#endsyntax#} has in-memory layout guaranteed to match the C ABI for the target.

+

This kind of struct should only be used for compatibility with the C ABI. Every other + use case should be solved with {#link|packed struct#} or normal {#link|struct#}.

{#see_also|extern union|extern enum#} {#header_close#}