diff options
| author | Alper Ak <alperyasinak1@gmail.com> | 2025-05-21 13:16:29 +0300 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-05-28 08:46:32 -0700 |
| commit | c90ab351eba65ba080fa38756a91763efd1f513d (patch) | |
| tree | 2962ed5d8ce008e877b7042aff47b060bcc5c21f /documentation/ref-manual | |
| parent | c5b17456e624f1f8f0ef3b3b5ce1cb6d5f17f272 (diff) | |
| download | poky-c90ab351eba65ba080fa38756a91763efd1f513d.tar.gz | |
ref-manual/variables.rst: document INHIBIT_DEFAULT_RUST_DEPS
Fix [YOCTO #15755]
(From yocto-docs rev: 064472cef81212d9731b10161b8118de314191e1)
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit fd143a04bab38f6aeec23ec229657b16fcaecdf1)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/ref-manual')
| -rw-r--r-- | documentation/ref-manual/variables.rst | 17 |
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 |
