diff options
author | Miguel Ojeda <[email protected]> | 2024-09-02 18:55:33 +0200 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2024-09-05 22:45:01 +0200 |
commit | 93dc3be19450447a3a7090bd1dfb9f3daac3e8d2 (patch) | |
tree | f926ebe3de38d83bf41af43633b2ac0d65fc2319 /rust/kernel | |
parent | aeb0e24abbebebff3b5ac65486c933d0ecd5cf81 (diff) |
docs: rust: include other expressions in conditional compilation section
Expand the conditional compilation section to explain how to support
other expressions, such as testing whether `RUSTC_VERSION` is at least
a given version, which requires a numerical comparison that Rust's `cfg`
predicates do not support (yet?).
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 'rust/kernel')
0 files changed, 0 insertions, 0 deletions