summaryrefslogtreecommitdiff
path: root/Documentation/rust
diff options
context:
space:
mode:
authorDavid Gow <davidgow@google.com>2022-12-17 12:44:36 +0800
committerRichard Weinberger <richard@nod.at>2023-02-10 21:31:10 +0100
commit0438aadfa69a345136f5ba4f582e0f769450ee0d (patch)
treef6153ba98986e8b962e6dc8ad00e007ae73204b2 /Documentation/rust
parent8849818679478933dd1d9718741f4daa3f4e8b86 (diff)
rust: arch/um: Add support for CONFIG_RUST under x86_64 UML
CONFIG_RUST currently supports x86_64, but does not support it under UML. With the previous patches applied, adding support is trivial: add CONFIG_HAVE_RUST to UML if X86_64 is set. The scripts/generate_rust_target.rs file already checks for CONFIG_X86_64, not CONFIG_X86, so is prepared for UML support. The Rust support does not currently support X86_32. Also, update the Rust architecture support documentation to not that this is being maintained: I intend to look after this as best I can. Signed-off-by: David Gow <davidgow@google.com> Reviewed-by: Sergio González Collado <sergio.collado@gmail.com> Tested-by: Sergio González Collado <sergio.collado@gmail.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'Documentation/rust')
-rw-r--r--Documentation/rust/arch-support.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/rust/arch-support.rst b/Documentation/rust/arch-support.rst
index 6982b63775da..a526ca1c688b 100644
--- a/Documentation/rust/arch-support.rst
+++ b/Documentation/rust/arch-support.rst
@@ -17,3 +17,5 @@ Architecture Level of support Constraints
============ ================ ==============================================
``x86`` Maintained ``x86_64`` only.
============ ================ ==============================================
+``um`` Maintained ``x86_64`` only.
+============ ================ ==============================================