Bug 15755 - INHIBIT_DEFAULT_RUST_DEPS is lacking documentation
Summary: INHIBIT_DEFAULT_RUST_DEPS is lacking documentation
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 5.99
Assignee: Alper Ak
QA Contact:
URL:
Whiteboard: NEWCOMER
Depends on:
Blocks:
 
Reported: 2025-02-16 10:17 UTC by kweihmann
Modified: 2025-06-10 08:34 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kweihmann 2025-02-16 10:17:42 UTC
INHIBIT_DEFAULT_RUST_DEPS used by rust is lacking
a default value and is entirely undocumented

> bitbake-getvar INHIBIT_DEFAULT_RUST_DEPS

returns

> The variable 'INHIBIT_DEFAULT_RUST_DEPS' is not defined

The code in rust bbclass is doing a "if not d.getVar('INHIBIT_DEFAULT_RUST_DEPS'):" only,
so having a documented and defined empty value will not impact functionality
Comment 1 Richard Purdie 2025-02-17 12:55:51 UTC
As per several other bugs opened of this type, we are not adding default values for the sake of it.

I do agree we should document variables where possible.
Comment 2 Alper Ak 2025-05-21 11:29:09 UTC
Patch sent -> https://lists.yoctoproject.org/g/docs/message/6859
Comment 3 Alper Ak 2025-06-08 07:01:51 UTC
Merged to master, can be closed.

https://github.com/yoctoproject/poky/commit/3d49affb495fcd35c20efeb2045c7c843943c952
Comment 4 Antonin Godard 2025-06-10 08:34:39 UTC
Moving to Resolved Fixed.