Re: [PATCH 03/22] rust: add extensions to the pin-init crate and move relevant documentation there
From: Benno Lossin
Date: Wed Mar 05 2025 - 06:03:37 EST
On Wed Mar 5, 2025 at 10:11 AM CET, Andreas Hindborg wrote:
> "Benno Lossin" <benno.lossin@xxxxxxxxx> writes:
>
>> In preparation of splitting off the pin-init crate from the kernel
>> crate, move all kernel-specific documentation from pin-init back into
>> the kernel crate.
>
> This patch **moves** very few lines. The additions to init.rs seem
> either copied or new additions.
Yes git's `--color-moved` only shows a few moved lines, but all
documentation lines that are removed from `rust/pin-init/src/lib.rs` are
added into `init.rs`. The example is "new", as it is copied from the
user-space version [1]. I can update the commit message with more
information.
[1]: https://github.com/Rust-for-Linux/pin-init/blob/main/src/lib.rs#L160
---
Cheers,
Benno