Re: [PATCH 0/4] Inline helpers into Rust without full LTO
From: Peter Zijlstra
Date: Wed Jan 07 2026 - 09:01:24 EST
On Wed, Jan 07, 2026 at 02:42:25PM +0100, Alice Ryhl wrote:
> With this option, helpers.bc gets linked into every Rust object file
> separately (and symbols are internalized). We might want a separate
> .bc file depending on whether the Rust object files is part of the
> core kernel or a .ko file.
Right, building it twice, once with and once with -DMODULE owuldn't be
the end of the world I suppose :-)
Also, I ran across Eurydice during the x-mas break, would it not be
possible to compile all the .rs muck to C using that and then building
the whole lot like 'normal'?