[WIP 1/3] rust: Introduce atomic module

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Sat Mar 23 12:13:56 PDT 2024


On Sat, Mar 23, 2024 at 1:03 AM Boqun Feng <boqun.feng at gmail.com> wrote:
>
> I can continue to look an elegant way, now since we compile our own
> `core` crate (where Rust atomic library locates), we can certain do a
> sed trick to exclude the atomic code from Rust. It's pretty hacky, but
> maybe others know how to teach linter to help.

Yeah, but it requires copying the source and so on, like we did for
`rusttest`. I would prefer to avoid another hack like that though (and
the plan is to get rid of the existing hack anyway).

Cheers,
Miguel



More information about the linux-arm-kernel mailing list