Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1697079rwl; Fri, 31 Mar 2023 15:28:41 -0700 (PDT) X-Google-Smtp-Source: AKy350a61eeLNS8ET+f29WJUe77IoLJLYOeB0UHfYPXMFQ1MJviJTNJ1P4qPDNQIAWCMZnS3mzr2 X-Received: by 2002:a17:902:c94c:b0:1a2:6092:2193 with SMTP id i12-20020a170902c94c00b001a260922193mr8000327pla.4.1680301720785; Fri, 31 Mar 2023 15:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680301720; cv=none; d=google.com; s=arc-20160816; b=UPlD8zgqsOoxpCIUy7AaQ5pKEg7GhPeJUq6y33/domuFk9Eypd3xJ8UWzHE6gSeRiS 8ucjbpwRcjkgcTZ4ND0unU4i64NQsGitTBeAAk+rJSLQjjc/Lc4E1ayyhky3678X2DZh mBjnazyXkfdANatReyfYGfCdB76DMuAq8/1oqKIozaLi4nLolDB7I2nCrevqSUyhCdbh rbgk7OoueHjfb7xRWsiMEZ8sXkecHLUVfPouVsCm0bpKHqeZxuclCOLFZtKeZxA1aYFe XC0m1YTifIqKToJzobcECSwTMem9LLuO8VPLLsVXMvC83V9OiCMLZPAb6dHADq+NTNyw pa9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature; bh=WtftlvxQJ039HPxSLQblKHBrwyQ77QzbzDmRY3gJhwU=; b=SsBLcC8fPyLtkT6F/G4Wrxd5Q0N8p+FgWTZrBbuxNM/xo50wAUx2c/Whzw6ot/9FC8 J4eeZ1Q4IyZyzQwUNAbouT8Em9ZLP+9k+kV6tnEavC5vCAAgvw9RfxAXufUUHZdDD9uJ 8QuQECV/FiZRfLEMWwXlR2011xS6uSq7Kf+H4RoRbD9d/nykpmILroQ/TRHDXZKFSOCm 2Xm/cK62cuinUU1L6Sxn5bhaThzcAr7HEjyGEfdDdEZwfwm0ofxJyDeWsf3aN3d/tjgG vHPTtmIIitA9XqXyDi5cWETQy5dbzA6JRGUNz7/wMsALqbPF/vvxPIaW/+tDmapzgjqp P7bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ctn+GnX1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iz6-20020a170902ef8600b001a1efc91917si2943349plb.634.2023.03.31.15.28.29; Fri, 31 Mar 2023 15:28:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ctn+GnX1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233100AbjCaWYK (ORCPT + 99 others); Fri, 31 Mar 2023 18:24:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231879AbjCaWYI (ORCPT ); Fri, 31 Mar 2023 18:24:08 -0400 Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C9631EA02; Fri, 31 Mar 2023 15:24:07 -0700 (PDT) Received: by mail-qv1-xf2e.google.com with SMTP id cu4so17428975qvb.3; Fri, 31 Mar 2023 15:24:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680301446; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:feedback-id:from:to:cc:subject:date :message-id:reply-to; bh=WtftlvxQJ039HPxSLQblKHBrwyQ77QzbzDmRY3gJhwU=; b=Ctn+GnX1rq1Z7HSzKakAN5zxRYXrz1UW4nISkjn0Vnb4KaVx+Ycx+g7RWTQ2ZW7Uw9 IizLYZ5zcA7xeP8wr7jSn6Fd5BlZdHJIwUabFbnC+tZ1ddWK+TfLXnIkty6d+9vg1bvC bDAqtDu31uLhWoqDX2B75cO+Pqo4C120ZoGCytBzTgsSo20w9qa5/IL1RqM+gqn8vrSu q4LBsvjd2x1IN2QzifFIM/E8WUbPDmBokkaR+0ZamLEc+F8Q1GrsPqn4DXhzPAeHUeOY Z8+LT7OI0khd9kXHlVoTI5di2vSsNr0ApgqJvjm5p22eYdrZtti+gIaJ/o4bWoI4Yatj 6xCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680301446; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:feedback-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WtftlvxQJ039HPxSLQblKHBrwyQ77QzbzDmRY3gJhwU=; b=tJkBl6Fg6bdtu9A2ax+CEBTHnj9oF7rCYjcKZw7SFSPLJ9pEUWtHIGXzI/EJN7nhTT 1vFE4rEWfcRXEHTDm9dFqrntp6mPw3RjSvOeN4NAgcgAArB/oL+QceHIuccX8ghoUm+s zjUQc+1zD5J8FgyscT7XuBcmYyIK+n/tZ3+uvnAmWot9BHUXoJ8DNlLJeJvTWoEPbPiM peAvxvKhqbmTyswFmE1xC8EU1KaP0ZE3rQxOycT9MqlO7y0uKAaPYOrM39j3fA1gYiMe i7Dn0oNaiUtQ2NTJ6wa62mEc+RMb95Rlt+ajp+J4ikID/KX1jNBKmDgRquU/E+IU6Eje TB9w== X-Gm-Message-State: AAQBX9fBN4RZxnpH4a5+TSWXeOoEtQTbOe+2yGgzHmptSxgvws4Vq6+U ELLqc2O2J0LUmq7uO9jzavM= X-Received: by 2002:ad4:5ca7:0:b0:5cc:e059:efa3 with SMTP id q7-20020ad45ca7000000b005cce059efa3mr47450729qvh.23.1680301446517; Fri, 31 Mar 2023 15:24:06 -0700 (PDT) Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com. [66.111.4.228]) by smtp.gmail.com with ESMTPSA id g10-20020a0cfdca000000b005dd8b9345d2sm873652qvs.106.2023.03.31.15.24.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 15:24:06 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 8C69427C0054; Fri, 31 Mar 2023 18:24:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 31 Mar 2023 18:24:05 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeivddgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepuehoqhhu nhcuhfgvnhhguceosghoqhhunhdrfhgvnhhgsehgmhgrihhlrdgtohhmqeenucggtffrrg htthgvrhhnpeehudfgudffffetuedtvdehueevledvhfelleeivedtgeeuhfegueeviedu ffeivdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gsohhquhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdeiledvgeehtdei gedqudejjeekheehhedvqdgsohhquhhnrdhfvghngheppehgmhgrihhlrdgtohhmsehfih igmhgvrdhnrghmvg X-ME-Proxy: Feedback-ID: iad51458e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 31 Mar 2023 18:24:04 -0400 (EDT) Date: Fri, 31 Mar 2023 15:23:17 -0700 From: Boqun Feng To: y86-dev@protonmail.com Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Alice Ryhl , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Andreas Hindborg , Alice Ryhl Subject: Re: [PATCH v4 01/15] rust: enable the `pin_macro` feature Message-ID: References: <20230331215053.585759-1-y86-dev@protonmail.com> <20230331215053.585759-2-y86-dev@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > > > 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 > > Cc: Gary Guo > > Cc: Andreas Hindborg > > Cc: Alice Ryhl > > Acked-by: Boqun Feng > 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 > > > >