From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
To: Wei Liu <wei.liu@kernel.org>
Cc: "Boqun Feng" <boqun.feng@gmail.com>,
	"Wedson Almeida Filho" <wedsonaf@gmail.com>,
	rust-for-linux@vger.kernel.org,
	"Linux Kernel List" <linux-kernel@vger.kernel.org>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>
Subject: Re: [PATCH] rust: kernel: drop repetition in offset_of macro
Date: Sat, 17 Dec 2022 00:57:21 +0100	[thread overview]
Message-ID: <CANiq72krvm2bT3suU9ecxpECZYNZ99+ed5y65tUDpNiqGvWKOw@mail.gmail.com> (raw)
In-Reply-To: <Y5z/msA6FWH0Bgmq@liuwe-devbox-debian-v2>
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
next prev parent reply	other threads:[~2022-12-16 23:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-16 17:49 [PATCH] rust: kernel: drop repetition in offset_of macro Wei Liu
2022-12-16 18:26 ` Wedson Almeida Filho
2022-12-16 22:15   ` Boqun Feng
2022-12-16 23:30     ` Wei Liu
2022-12-16 23:57       ` Miguel Ojeda [this message]
2022-12-16 23:08   ` Wei Liu
2022-12-16 23:15   ` Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox
  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):
  git send-email \
    --in-reply-to=CANiq72krvm2bT3suU9ecxpECZYNZ99+ed5y65tUDpNiqGvWKOw@mail.gmail.com \
    --to=miguel.ojeda.sandonis@gmail.com \
    --cc=alex.gaynor@gmail.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=gary@garyguo.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=wedsonaf@gmail.com \
    --cc=wei.liu@kernel.org \
    /path/to/YOUR_REPLY
  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).