summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/variables.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-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