Re: [PATCH v9 19/27] scripts: add `generate_rust_target.rs`

From: Kees Cook
Date: Wed Aug 17 2022 - 16:14:53 EST


On Fri, Aug 05, 2022 at 05:42:04PM +0200, Miguel Ojeda wrote:
> This script takes care of generating the custom target specification
> file for `rustc`, based on the kernel configuration.
>
> It also serves as an example of a Rust host program.
>
> A dummy architecture is kept in this patch so that a later patch
> adds x86 support on top with as few changes as possible.
>
> Co-developed-by: Alex Gaynor <alex.gaynor@xxxxxxxxx>
> Signed-off-by: Alex Gaynor <alex.gaynor@xxxxxxxxx>

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook