Commit 782d092
committed
rust: depend on
Clang 15 will support structure layout randomization, and the kernel
has reorganized the Kconfig options in preparation, see commit
595b893 ("randstruct: Reorganize Kconfigs and attribute macros").
Thus depend ourselves on `!RANDSTRUCT` until we figure out a way
to handle it in `bindgen` (or go through a C function etc.). Some
of the Rust code we have in the `kernel` crate does not support it
in any case.
Link: https://lore.kernel.org/lkml/383b1045-94c5-c2b0-57db-9f4f4760206c@intel.com/
Reported-by: kernel test robot <yujie.liu@intel.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>!RANDSTRUCT
1 parent 29c2a45 commit 782d092
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1916 | 1916 | | |
1917 | 1917 | | |
1918 | 1918 | | |
| 1919 | + | |
1919 | 1920 | | |
1920 | 1921 | | |
1921 | 1922 | | |
| |||
0 commit comments