lkml.org 
[lkml]   [2022]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] rust: kernel: drop repetition in offset_of macro
On Sat, Dec 17, 2022 at 12:30 AM Wei Liu <wei.liu@kernel.org> wrote:
>
> What will be even better is someone please contribute such a macro to
> libcore so that I don't have to replicate the code snippet everywhere.
> :-)

It is happening! :-) See https://github.com/rust-lang/rfcs/pull/3308,
currently at the end of the FCP ("final comment period"), i.e. the RFC
is likely getting accepted soon.

We track it at https://github.com/Rust-for-Linux/linux/issues/514 (one
of the sub-lists in issue #2).

Cheers,
Miguel

\
 
 \ /
  Last update: 2022-12-17 00:58    [W:0.031 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site