From 6b4be8e413130ac7eeae2088dd79a65cf562801c Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Mon, 27 Oct 2025 13:43:44 +0100 Subject: [PATCH] ref-manual/classes.rst: document the rust-target-config class Document the rust-target-config class. (From yocto-docs rev: a9dc48f4bbfb9abfdffc7f0caa8285f7c72cc2d9) Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/ref-manual/classes.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 5903a4b9a5..0e616420cf 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -2638,6 +2638,19 @@ The :ref:`ref-classes-rust-common` class is an internal class to the :ref:`ref-classes-cargo_common` and :ref:`ref-classes-rust` classes and is not intended to be used directly. +.. _ref-classes-rust-target-config: + +``rust-target-config`` +====================== + +The :ref:`ref-classes-rust-target-config` class is an internal class to the +:ref:`ref-classes-cargo_common` and :ref:`ref-classes-rust` classes and is not +intended to be used directly. + +It is used to generate a JSON specification file from the features listed in +:term:`TUNE_FEATURES`, which is used for cross-compiling. The logic is done in a +``do_rust_gen_targets`` task. + .. _ref-classes-sanity: ``sanity``