x86: enable initial Rust support
authorMiguel Ojeda <ojeda@kernel.org>
Thu, 4 Aug 2022 10:16:44 +0000 (12:16 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Wed, 28 Sep 2022 07:02:45 +0000 (09:02 +0200)
commit094981352ce27bc36018c009d07ddf974c9725f5
tree905b8c6bcbac870568b909e4500de86a136ed176
parentd07479b211b7a86c93883c74b8f9b1e33d06e262
x86: enable initial Rust support

Note that only x86_64 is covered and not all features nor mitigations
are handled, but it is enough as a starting point and showcases
the basics needed to add Rust support for a new architecture.

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Co-developed-by: Alex Gaynor <alex.gaynor@gmail.com>
Signed-off-by: Alex Gaynor <alex.gaynor@gmail.com>
Co-developed-by: Wedson Almeida Filho <wedsonaf@google.com>
Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com>
Co-developed-by: David Gow <davidgow@google.com>
Signed-off-by: David Gow <davidgow@google.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Documentation/rust/arch-support.rst
arch/x86/Kconfig
arch/x86/Makefile
scripts/generate_rust_target.rs