Re: [PATCH RESEND v5] rust: str: Use `core::CStr`, remove the custom `CStr` implementation

2024-08-24 Thread Trevor Gross
On Mon, Aug 19, 2024 at 10:43 AM Michal Rostecki wrote: > > On 8/19/24 17:36, Michal Rostecki wrote: > > From: Michal Rostecki > > > > `CStr` became a part of `core` library in Rust 1.75. This change replaces > > the custom `CStr` implementation with the one from `core`. [ very long snip ] > >

Re: [PATCH RESEND v5] rust: str: Use `core::CStr`, remove the custom `CStr` implementation

2024-08-24 Thread Trevor Gross
On Mon, Aug 19, 2024 at 10:39 AM Michal Rostecki wrote: > > From: Michal Rostecki You don't need this since the email already shows it is already from you :) Aiui this is only needed when forwarding a patch for someone else, or if you use a different commit email for some reason. > `CStr` becam

Re: [PATCH v3] rust: str: Use `core::CStr`, remove the custom `CStr` implementation

2024-07-15 Thread Trevor Gross
On Mon, Jul 15, 2024 at 5:14 PM Michal Rostecki wrote: > diff --git a/rust/kernel/kunit.rs b/rust/kernel/kunit.rs > index 0ba77276ae7e..c08f9dddaa6f 100644 > --- a/rust/kernel/kunit.rs > +++ b/rust/kernel/kunit.rs > [...] > // SAFETY: FFI call without safety requirements. >