linux/Documentation/rust
Miguel Ojeda 93dc3be194 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>
2024-09-05 22:45:01 +02:00
..
arch-support.rst arch: um: rust: Add i386 support for Rust 2024-07-03 12:22:22 +02:00
coding-guidelines.rst rust: support srctree-relative links 2023-12-21 20:54:17 +01:00
general-information.rst docs: rust: include other expressions in conditional compilation section 2024-09-05 22:45:01 +02:00
index.rst docs: rust: improve main page introducing a "Code documentation" section 2024-08-25 18:37:40 +02:00
quick-start.rst docs: rust: quick-start: add Debian Testing 2024-08-24 19:44:24 +02:00
testing.rst kbuild: rust: remove now-unneeded rusttest custom sysroot handling 2024-07-08 22:39:39 +02:00