tools build: Add a feature test for rust compiler
authorDmitrii Dolgov <9erthalion6@gmail.com>
Sun, 8 Feb 2026 12:22:23 +0000 (13:22 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 8 Feb 2026 14:30:45 +0000 (11:30 -0300)
commit6a32fa5ccd33da5d187ec6e78f3b45683399ab66
tree6b7d5a8521528c8aac81cf9a51be1581617425c8
parentff9aeb6bd14dbc70651971c81e81fa8269c3101a
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>
tools/build/Makefile.feature
tools/build/feature/Makefile
tools/build/feature/test-rust.rs [new file with mode: 0644]
tools/perf/Makefile.config
tools/perf/builtin-check.c