diff options
| author | Malte Wechter <maltewechter@gmail.com> | 2026-06-03 16:20:51 +0200 |
|---|---|---|
| committer | Tamir Duberstein <tamird@kernel.org> | 2026-06-03 10:30:07 -0400 |
| commit | 5f45afb8ab04d934fc0601a202f95267ebc20059 (patch) | |
| tree | 12ef6e6e21b0e2f8787cde484447faa74b29e270 /include/linux/bootmem_info.h | |
| parent | 5200f5f493f79f14bbdc349e402a40dfb32f23c8 (diff) | |
| download | linux-next-5f45afb8ab04d934fc0601a202f95267ebc20059.tar.gz linux-next-5f45afb8ab04d934fc0601a202f95267ebc20059.zip | |
scripts: generate_rust_analyzer.py: pass cfg to macros crate
The configuration passed to rust-analyzer for the `macros` create is
different from the configuration used to build the crate. Update
rust-analyzer configuration for the `macros` crate to reflect the
settings used to compile the crate. Without this change, rust-analyzer
does not understand conditional compilation gated by configuration
redicates based on the `CONFIG_*`configuration values in the macros
crate.
[ Tamir: reworded subject in keeping with convention. ]
Fixes: 36174d16f3ec ("rust: kunit: support KUnit-mapped `assert!` macros in `#[test]`s")
Signed-off-by: Malte Wechter <maltewechter@gmail.com>
Link: https://patch.msgid.link/20260603-rust-analyzer-macro-v3-1-9f7fdb4908e5@gmail.com
Signed-off-by: Tamir Duberstein <tamird@kernel.org>
Diffstat (limited to 'include/linux/bootmem_info.h')
0 files changed, 0 insertions, 0 deletions
