Commit 0aa7e8a
committed
HACK: rust: pin-init: Disable references to previously initialized fields
aop_audio uses pin-init on `#[repr(C, packed)]` embedded into other
structs. This fails with "error[E0793]: reference to packed field is
unaligned" since packed struct have an alingment of 1 byte.
Fixes: 42415d1 ("rust: pin-init: add references to previously initialized fields")1 parent 957c64f commit 0aa7e8a
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1353 | 1353 | | |
1354 | 1354 | | |
1355 | 1355 | | |
1356 | | - | |
1357 | | - | |
| 1356 | + | |
| 1357 | + | |
1358 | 1358 | | |
1359 | 1359 | | |
1360 | 1360 | | |
| |||
1395 | 1395 | | |
1396 | 1396 | | |
1397 | 1397 | | |
1398 | | - | |
| 1398 | + | |
1399 | 1399 | | |
1400 | 1400 | | |
1401 | 1401 | | |
| |||
0 commit comments