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 <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Antonin Godard
2025-10-27 13:43:44 +01:00
committed by Richard Purdie
parent 139f32a902
commit 6b4be8e413

View File

@@ -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``