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

Kees Cook
2022-08-17T20:14:52Z

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@gmail.com>
> Signed-off-by: Alex Gaynor <alex.gaynor@gmail.com>

Reviewed-by: Kees Cook <keescook@chromium.org>

--
Kees Cook