summaryrefslogtreecommitdiff
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2024-09-02 18:55:33 +0200
committerMiguel Ojeda <ojeda@kernel.org>2024-09-05 22:45:01 +0200
commit93dc3be19450447a3a7090bd1dfb9f3daac3e8d2 (patch)
treef926ebe3de38d83bf41af43633b2ac0d65fc2319 /mm/vmalloc.c
parentaeb0e24abbebebff3b5ac65486c933d0ecd5cf81 (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 <nicolas@fjasle.eu> Tested-by: Alice Ryhl <aliceryhl@google.com> Acked-by: Masahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20240902165535.1101978-7-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions