Re: [PATCH v2] rust: bindings: rename const binding using sed

From: Miguel Ojeda
Date: Thu Dec 14 2023 - 14:22:09 EST


On Wed, Dec 13, 2023 at 7:44 PM Miguel Ojeda
<miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>
> Applied to `rust-next` (reworded for typos and with Benno's `^`
> suggestion -- we can always relax it back later if needed, the output
> is currently the same).

I have dropped the `^` suggestion from `rust-next` since that breaks
non-`rustfmt` builds [1] given everything goes in a single line in the
generated code.

We may want to consider requiring `rustfmt` at some point to simplify things.

[1] https://storage.kernelci.org/next/master/next-20231214/x86_64/x86_64_defconfig+rust/rustc-1.73/logs/kernel.log

Cheers,
Miguel