summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAlper Ak <alperyasinak1@gmail.com>2025-05-21 13:16:29 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-26 13:02:49 +0100
commit3d49affb495fcd35c20efeb2045c7c843943c952 (patch)
treefbae826653761c2317b850d1a8af6f7a510a14b2 /documentation
parent2358a2bae446328adfcec0d4a1668fa6844e703a (diff)
downloadpoky-3d49affb495fcd35c20efeb2045c7c843943c952.tar.gz
ref-manual/variables.rst: document INHIBIT_DEFAULT_RUST_DEPS
Fix [YOCTO #15755] (From yocto-docs rev: fd143a04bab38f6aeec23ec229657b16fcaecdf1) Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/variables.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 249211e3b6..6d1b64ef86 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -4538,6 +4538,23 @@ system and gives an overview of their function and contents.
4538 Set the variable to "1" to prevent the default dependencies from 4538 Set the variable to "1" to prevent the default dependencies from
4539 being added. 4539 being added.
4540 4540
4541 :term:`INHIBIT_DEFAULT_RUST_DEPS`
4542 Prevents the :ref:`ref-classes-rust` class from automatically adding
4543 its default build-time dependencies.
4544
4545 When a recipe inherits the :ref:`ref-classes-rust` class, several
4546 tools such as ``rust-native`` and ``${RUSTLIB_DEP}`` (only added when cross-compiling) are added
4547 to :term:`DEPENDS` to support the ``rust`` build process.
4548
4549 To prevent the build system from adding these dependencies automatically,
4550 set the :term:`INHIBIT_DEFAULT_RUST_DEPS` variable as follows::
4551
4552 INHIBIT_DEFAULT_RUST_DEPS = "1"
4553
4554 By default, the value of :term:`INHIBIT_DEFAULT_RUST_DEPS` is empty. Setting
4555 it to "0" does not disable inhibition. Only the empty string will disable
4556 inhibition.
4557
4541 :term:`INHIBIT_PACKAGE_DEBUG_SPLIT` 4558 :term:`INHIBIT_PACKAGE_DEBUG_SPLIT`
4542 Prevents the OpenEmbedded build system from splitting out debug 4559 Prevents the OpenEmbedded build system from splitting out debug
4543 information during packaging. By default, the build system splits out 4560 information during packaging. By default, the build system splits out