Re: Package for development of out-of-tree kernel modules written in Rust
On Wed, Feb 26, 2025 at 01:27:00AM +0100, NoisyCoil wrote:
> Needless to say, Rust must be enabled in the kernel for these files to be
> generated, meaning the Debian kernel cannot currently support this. However,
> there is at least one fork of the Debian kernel being built with Rust
> enabled at present, namely, the Asahi kernel which we are maintaining in the
> Bananas Team [4] (which needs Rust for the Apple AGX GPU driver), so I
> started experimenting with the idea of having a package to provide these
> files. Following the scheme of having a metapackage + an actual versioned
> package I added two packages, linux-librust@source_suffix@@localversion@-dev
> [5] and linux-librust-@abiname@ [6], the first of which has the second as a
> dependency, while the second contains the actual files and links needed to
> build out-of-tree Rust modules. I tested it with [1] and it worked (modulo a
> small change needed to build [1] outside of mainline). You can find a draft
> at [7].
I completely miss the reason why this can't be part of linux-headers and
just be used the same way.
Because those have the same limitations, I would oppose additional
packages just because.
Bastian
--
You! What PLANET is this!
-- McCoy, "The City on the Edge of Forever", stardate 3134.0
Reply to: