On Mon, Aug 19, 2024 at 10:43 AM Michal Rostecki <vadorovsky@xxxxxxxxx> wrote: > > On 8/19/24 17:36, Michal Rostecki wrote: > > From: Michal Rostecki <vadorovsky@xxxxxxxxx> > > > > `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 ] > > @@ -180,7 +180,7 @@ macro_rules! assert {{ > > #[allow(unused)] > > macro_rules! assert_eq {{ > > ($left:expr, $right:expr $(,)?) => {{{{ > > - kernel::kunit_assert_eq!("{kunit_name}", "{real_path}", __DOCTEST_ANCHOR - {line}, $left, $right); > > + kernel::kunit_assert_eq!(c"{kunit_name}", c"{real_path}", __DOCTEST_ANCHOR - {line}, $left, $right); > > }}}} > > }} > > > > I forgot to include the version history before sending the patch, sorry. For future reference - when replying, you should delete irrelevant bits of the message you are replying to, otherwise things get kind of messy. - Trevor