On Tue, Sep 27, 2022 at 03:14:52PM +0200, Miguel Ojeda wrote: > From: Daniel Xu <dxu@xxxxxxxxx> > > This script is used to detect whether a kernel module is written > in Rust. > > It will later be used to disable BTF generation on Rust modules as > BTF does not yet support Rust. > > Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx> > Co-developed-by: Alex Gaynor <alex.gaynor@xxxxxxxxx> > Signed-off-by: Alex Gaynor <alex.gaynor@xxxxxxxxx> > Co-developed-by: Wedson Almeida Filho <wedsonaf@xxxxxxxxxx> > Signed-off-by: Wedson Almeida Filho <wedsonaf@xxxxxxxxxx> > Signed-off-by: Daniel Xu <dxu@xxxxxxxxx> > Co-developed-by: Miguel Ojeda <ojeda@xxxxxxxxxx> > Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx> > --- > scripts/is_rust_module.sh | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100755 scripts/is_rust_module.sh Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>