diff options
author | Matthew Maurer <[email protected]> | 2024-08-20 19:48:56 +0000 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2024-09-16 18:04:37 +0200 |
commit | c42297438aee70e2d391225de3d35ffeb2bdbaf9 (patch) | |
tree | 9837a6c9ffb1d47ae2024f2052a16130ef5e26bd /scripts/generate_rust_target.rs | |
parent | cc1d98f9fe30467a2224184336b3166ef4adbc25 (diff) |
kbuild: rust: Define probing macros for rustc
Creates flag probe macro variants for `rustc`. These are helpful
because:
1. The kernel now supports a minimum `rustc` version rather than a
single version.
2. `rustc` links against a range of LLVM revisions, occasionally even
ones without an official release number. Since the availability of
some Rust flags depends on which LLVM it has been linked against,
probing is necessary.
Signed-off-by: Matthew Maurer <[email protected]>
Link: https://github.com/Rust-for-Linux/linux/pull/1087
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