rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Boqun Feng <boqun.feng@gmail.com>
To: y86-dev@protonmail.com
Cc: "Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Wedson Almeida Filho" <wedsonaf@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Alice Ryhl" <alice@ryhl.io>,
	rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org,
	patches@lists.linux.dev,
	"Andreas Hindborg" <a.hindborg@samsung.com>,
	"Alice Ryhl" <aliceryhl@google.com>
Subject: Re: [PATCH v4 01/15] rust: enable the `pin_macro` feature
Date: Fri, 31 Mar 2023 15:23:17 -0700	[thread overview]
Message-ID: <ZCddVfb9vUw8j7u/@boqun-archlinux> (raw)
In-Reply-To: <ZCdWErZLBFl205UP@boqun-archlinux>

On Fri, Mar 31, 2023 at 02:52:18PM -0700, Boqun Feng wrote:
> On Fri, Mar 31, 2023 at 09:51:35PM +0000, y86-dev@protonmail.com wrote:
> > From: Benno Lossin <y86-dev@protonmail.com>
> > 
> > This feature enables the use of the `pin!` macro for the `stack_pin_init!`
> > macro. This feature is already stabilized in Rust version 1.68.
> > 
> > Signed-off-by: Benno Lossin <y86-dev@protonmail.com>
> > Cc: Gary Guo <gary@garyguo.net>
> > Cc: Andreas Hindborg <a.hindborg@samsung.com>
> > Cc: Alice Ryhl <aliceryhl@google.com>
> 
> Acked-by: Boqun Feng <boqun.feng@gmail.com>
> 

Hmm.. actually I think you will need to add this in the
scripts/Makefile.build, because the user (stack_pin_init!()) is a macro,
feel free to add my acked-by after that.

Regards,
Boqun

> Regards,
> Boqun
> 
> > ---
> >  rust/kernel/lib.rs | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs
> > index 223564f9f0cc..4317b6d5f50b 100644
> > --- a/rust/kernel/lib.rs
> > +++ b/rust/kernel/lib.rs
> > @@ -17,6 +17,7 @@
> >  #![feature(core_ffi_c)]
> >  #![feature(dispatch_from_dyn)]
> >  #![feature(generic_associated_types)]
> > +#![feature(pin_macro)]
> >  #![feature(receiver_trait)]
> >  #![feature(unsize)]
> > 
> > --
> > 2.39.2
> > 
> > 

  reply	other threads:[~2023-03-31 22:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-31 21:51 [PATCH v4 00/15] Rust pin-init API for pinned initialization of structs y86-dev
2023-03-31 21:51 ` [PATCH v4 01/15] rust: enable the `pin_macro` feature y86-dev
2023-03-31 21:52   ` Boqun Feng
2023-03-31 22:23     ` Boqun Feng [this message]
2023-03-31 21:51 ` [PATCH v4 02/15] rust: macros: add `quote!` macro y86-dev
2023-04-03  8:36   ` Andreas Hindborg
2023-03-31 21:52 ` [PATCH v4 03/15] rust: sync: change error type of constructor functions y86-dev
2023-04-03  8:41   ` Andreas Hindborg
2023-03-31 21:52 ` [PATCH v4 04/15] rust: sync: add `assume_init` to `UniqueArc` y86-dev
2023-03-31 21:52 ` [PATCH v4 05/15] rust: types: add `Opaque::raw_get` y86-dev
2023-03-31 21:52 ` [PATCH v4 06/15] rust: add pin-init API core y86-dev
2023-04-01  5:24   ` Wedson Almeida Filho
2023-04-01  7:43     ` Benno Lossin
2023-03-31 21:53 ` [PATCH v4 07/15] rust: init: add initialization macros y86-dev

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=ZCddVfb9vUw8j7u/@boqun-archlinux \
    --to=boqun.feng@gmail.com \
    --cc=a.hindborg@samsung.com \
    --cc=alex.gaynor@gmail.com \
    --cc=alice@ryhl.io \
    --cc=aliceryhl@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=gary@garyguo.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ojeda@kernel.org \
    --cc=patches@lists.linux.dev \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=wedsonaf@gmail.com \
    --cc=y86-dev@protonmail.com \
    /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).