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

Agathe Porte agathe.porte at canonical.com
Tue Oct 29 10:28:17 UTC 2024


2024-10-16 17:08 CEST, Stefan Bader:
> == 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(+)

Acked-by: Agathe Porte <agathe.porte at canonical.com>



More information about the kernel-team mailing list