Thread (27 messages) 27 messages, 5 authors, 2024-06-07

Re: [PATCH 1/3] rust: add static_call support

From: Peter Zijlstra <peterz@infradead.org>
Date: 2024-06-06 19:33:26
Also in: lkml, rust-for-linux

On Thu, Jun 06, 2024 at 09:09:00PM +0200, Miguel Ojeda wrote:
On Thu, Jun 6, 2024 at 7:19 PM Peter Zijlstra [off-list ref] wrote:
quoted
This is absolutely unreadable gibberish -- how am I supposed to keep
this in sync with the rest of the static_call infrastructure?
Yeah, they are macros, which look different from "normal" Rust code.
Macros like CPP ?
Is there something we could do to help here? I think Alice and others
would be happy to explain how it works and/or help maintain it in the
future if you prefer.
Write a new language that looks more like C -- pretty please ? :-)

Mostly I would just really like you to just use arm/jump_label.h,
they're inline functions and should be doable with IR, no weirdo CPP
involved in this case.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help