-
由 Miguel Ojeda 提交于
This script tests whether the Rust toolchain requirements are in place to enable Rust support. It uses `min-tool-version.sh` to fetch the version numbers. The build system will call it to set `CONFIG_RUST_IS_AVAILABLE` in a later patch. It also has an option (`-v`) to explain what is missing, which is useful to set up the development environment. This is used via the `make rustavailable` target added in a later patch. Reviewed-by: NKees Cook <keescook@chromium.org> Co-developed-by: NAlex Gaynor <alex.gaynor@gmail.com> Signed-off-by: NAlex Gaynor <alex.gaynor@gmail.com> Co-developed-by: NWedson Almeida Filho <wedsonaf@google.com> Signed-off-by: NWedson Almeida Filho <wedsonaf@google.com> Co-developed-by: NFinn Behrens <me@kloenk.de> Signed-off-by: NFinn Behrens <me@kloenk.de> Co-developed-by: NMiguel Cano <macanroj@gmail.com> Signed-off-by: NMiguel Cano <macanroj@gmail.com> Co-developed-by: NTiago Lam <tiagolam@gmail.com> Signed-off-by: NTiago Lam <tiagolam@gmail.com> Signed-off-by: NMiguel Ojeda <ojeda@kernel.org>
78521f33