[PATCH] cfi: rust: pass -Zpatchable-function-entry on all architectures

Peter Zijlstra peterz at infradead.org
Thu Oct 10 06:04:21 PDT 2024


On Thu, Oct 10, 2024 at 01:44:14PM +0200, Miguel Ojeda wrote:
> On Thu, Oct 10, 2024 at 1:37 PM Peter Zijlstra <peterz at infradead.org> wrote:
> >
> > So much for the debian 'rust-all' package actually including all. Thanks
> > Boqun for telling me about the rustavailable make target.
> 
> Yeah, `rust-all` does not seem to include `bindgen`, which I guess was
> the issue (?).

Also not rust-src, because for some reason you're not actually
freestanding :/

> I guess you have it working now, but for the next time / others, we
> have the `apt` line for Debian at
> https://docs.kernel.org/rust/quick-start.html#debian.

Yeah, but then you have to first know that we have this file to begin
with.



More information about the linux-riscv mailing list