tools build: Add a feature test for rust compiler

Add a feature test to identify if the rust compiler is available, so
that perf could build rust based worloads based on that.

Signed-off-by: Dmitrii Dolgov <9erthalion6@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Dmitrii Dolgov 2026-02-08 13:22:23 +01:00 • committed by Arnaldo Carvalho de Melo
commit 6a32fa5ccd
5 changed files with 27 additions and 2 deletions