aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2024-09-02 16:55:29 +0000
committerMiguel Ojeda <[email protected]>2024-09-05 20:44:34 +0000
commit5134a335cfe6ebdd2420e15b5f6c06915040aa51 (patch)
treeeb5c1ad585cc3541ed6762829a8952b58af96901 /scripts/generate_rust_target.rs
parentkbuild: rust: add `CONFIG_RUSTC_VERSION` (diff)
downloadkernel-5134a335cfe6ebdd2420e15b5f6c06915040aa51.tar.gz
kernel-5134a335cfe6ebdd2420e15b5f6c06915040aa51.zip
kbuild: rust: re-run Kconfig if the version text changes
Re-run Kconfig if we detect the Rust compiler has changed via the version text, like it is done for C. Unlike C, and unlike `RUSTC_VERSION`, the `RUSTC_VERSION_TEXT` is kept under `depends on RUST`, since it should not be needed unless `RUST` is enabled. Reviewed-by: Nicolas Schier <[email protected]> Tested-by: Alice Ryhl <[email protected]> Acked-by: Masahiro Yamada <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions