@@ -4,6 +4,7 @@ package cm
44//
55// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
66type Tuple [T0 , T1 any ] struct {
7+ _ HostLayout
78 F0 T0
89 F1 T1
910}
@@ -12,6 +13,7 @@ type Tuple[T0, T1 any] struct {
1213//
1314// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
1415type Tuple3 [T0 , T1 , T2 any ] struct {
16+ _ HostLayout
1517 F0 T0
1618 F1 T1
1719 F2 T2
@@ -21,6 +23,7 @@ type Tuple3[T0, T1, T2 any] struct {
2123//
2224// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
2325type Tuple4 [T0 , T1 , T2 , T3 any ] struct {
26+ _ HostLayout
2427 F0 T0
2528 F1 T1
2629 F2 T2
@@ -31,6 +34,7 @@ type Tuple4[T0, T1, T2, T3 any] struct {
3134//
3235// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
3336type Tuple5 [T0 , T1 , T2 , T3 , T4 any ] struct {
37+ _ HostLayout
3438 F0 T0
3539 F1 T1
3640 F2 T2
@@ -42,6 +46,7 @@ type Tuple5[T0, T1, T2, T3, T4 any] struct {
4246//
4347// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
4448type Tuple6 [T0 , T1 , T2 , T3 , T4 , T5 any ] struct {
49+ _ HostLayout
4550 F0 T0
4651 F1 T1
4752 F2 T2
@@ -54,6 +59,7 @@ type Tuple6[T0, T1, T2, T3, T4, T5 any] struct {
5459//
5560// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
5661type Tuple7 [T0 , T1 , T2 , T3 , T4 , T5 , T6 any ] struct {
62+ _ HostLayout
5763 F0 T0
5864 F1 T1
5965 F2 T2
@@ -67,6 +73,7 @@ type Tuple7[T0, T1, T2, T3, T4, T5, T6 any] struct {
6773//
6874// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
6975type Tuple8 [T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 any ] struct {
76+ _ HostLayout
7077 F0 T0
7178 F1 T1
7279 F2 T2
@@ -81,6 +88,7 @@ type Tuple8[T0, T1, T2, T3, T4, T5, T6, T7 any] struct {
8188//
8289// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
8390type Tuple9 [T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 any ] struct {
91+ _ HostLayout
8492 F0 T0
8593 F1 T1
8694 F2 T2
@@ -96,6 +104,7 @@ type Tuple9[T0, T1, T2, T3, T4, T5, T6, T7, T8 any] struct {
96104//
97105// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
98106type Tuple10 [T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 any ] struct {
107+ _ HostLayout
99108 F0 T0
100109 F1 T1
101110 F2 T2
@@ -112,6 +121,7 @@ type Tuple10[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 any] struct {
112121//
113122// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
114123type Tuple11 [T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 any ] struct {
124+ _ HostLayout
115125 F0 T0
116126 F1 T1
117127 F2 T2
@@ -129,6 +139,7 @@ type Tuple11[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 any] struct {
129139//
130140// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
131141type Tuple12 [T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 any ] struct {
142+ _ HostLayout
132143 F0 T0
133144 F1 T1
134145 F2 T2
@@ -147,6 +158,7 @@ type Tuple12[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11 any] struct {
147158//
148159// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
149160type Tuple13 [T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 any ] struct {
161+ _ HostLayout
150162 F0 T0
151163 F1 T1
152164 F2 T2
@@ -166,6 +178,7 @@ type Tuple13[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12 any] struct {
166178//
167179// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
168180type Tuple14 [T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 any ] struct {
181+ _ HostLayout
169182 F0 T0
170183 F1 T1
171184 F2 T2
@@ -186,6 +199,7 @@ type Tuple14[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13 any] str
186199//
187200// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
188201type Tuple15 [T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 any ] struct {
202+ _ HostLayout
189203 F0 T0
190204 F1 T1
191205 F2 T2
@@ -207,6 +221,7 @@ type Tuple15[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14 any
207221//
208222// [Component Model tuple]: https://component-model.bytecodealliance.org/design/wit.html#tuples
209223type Tuple16 [T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 any ] struct {
224+ _ HostLayout
210225 F0 T0
211226 F1 T1
212227 F2 T2
0 commit comments