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 b00c8c0fda..9c57e58135 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -3852,6 +3852,23 @@ system and gives an overview of their function and contents.
3852 Set the variable to "1" to prevent the default dependencies from 3852 Set the variable to "1" to prevent the default dependencies from
3853 being added. 3853 being added.
3854 3854
3855 :term:`INHIBIT_DEFAULT_RUST_DEPS`
3856 Prevents the :ref:`ref-classes-rust` class from automatically adding
3857 its default build-time dependencies.
3858
3859 When a recipe inherits the :ref:`ref-classes-rust` class, several
3860 tools such as ``rust-native`` and ``${RUSTLIB_DEP}`` (only added when cross-compiling) are added
3861 to :term:`DEPENDS` to support the ``rust`` build process.
3862
3863 To prevent the build system from adding these dependencies automatically,
3864 set the :term:`INHIBIT_DEFAULT_RUST_DEPS` variable as follows::
3865
3866 INHIBIT_DEFAULT_RUST_DEPS = "1"
3867
3868 By default, the value of :term:`INHIBIT_DEFAULT_RUST_DEPS` is empty. Setting
3869 it to "0" does not disable inhibition. Only the empty string will disable
3870 inhibition.
3871
3855 :term:`INHIBIT_PACKAGE_DEBUG_SPLIT` 3872 :term:`INHIBIT_PACKAGE_DEBUG_SPLIT`
3856 Prevents the OpenEmbedded build system from splitting out debug 3873 Prevents the OpenEmbedded build system from splitting out debug
3857 information during packaging. By default, the build system splits out 3874 information during packaging. By default, the build system splits out