File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ of type layout.
7
7
Type layout can be changed with each compilation. Instead of trying to document
8
8
exactly what is done, we only document what is guaranteed today.
9
9
10
+ Note that even types with the same layout can still differ in how they are passed
11
+ across function boundaries. For function call ABI compatibility of types,
12
+ see [ here] [ fn-abi-compatibility ] .
13
+
10
14
## Size and Alignment
11
15
12
16
All values have an alignment and size.
@@ -593,6 +597,7 @@ used with any other representation.
593
597
[`Copy `]: std :: marker :: Copy
594
598
[dynamically sized types ]: dynamically - sized - types . md
595
599
[field - less enums ]: items / enumerations . md#field - less - enum
600
+ [fn - abi - compatibility ]: .. / core / primitive . fn . md#abi - compatibility
596
601
[enumerations ]: items / enumerations . md
597
602
[zero - variant enums ]: items / enumerations . md#zero - variant - enums
598
603
[undefined behavior ]: behavior - considered - undefined . md
You can’t perform that action at this time.
0 commit comments