APPLIED[O]: [SRU O/U][PATCH 0/1] Allow overriding Rust tools

Roxana Nicolescu roxana.nicolescu at canonical.com
Mon Nov 4 11:41:06 UTC 2024


On 16/10/2024 17:07, Stefan Bader wrote:
> == SRU Justification ==
>
> BugLink: https://bugs.launchpad.net/bugs/2084693
>
> === Impact ===
>
> When we backport kernels as HWE kernels we want to enable Rust in 24.04/Noble builds. For that it necessary to pin to specific versions of the compiler and binutils. For this we need a method to optionally override those for the kernel build.
>
> === Fix ===
>
> The suggested change adds the ability to specify which (with full path if needed) command to run as rustc, rustfmt, and bindgen. It does not change the defaults that are used.
>
> === Test ===
>
> Check the build log for RUSTC, HOSTRUSTC, RUSTFMT, and BINDGEN being added to the make calls.
>
> === Regression Potential ===
>
> This would affect the outcome of the "rustavailable" check or anything related to the rust modules being created. Since the defaults remain unchanged this is not expected.
>
> Stefan Bader (1):
>    UBUNTU: [Packaging] Allow rust overrides
>
>   debian/rules.d/0-common-vars.mk | 7 +++++++
>   1 file changed, 7 insertions(+)
>
Applied to oracular:linux master-next branch. Thanks!



More information about the kernel-team mailing list