From patchwork Tue Apr 18 21:43:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miguel Ojeda X-Patchwork-Id: 85092 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3158792vqo; Tue, 18 Apr 2023 15:13:38 -0700 (PDT) X-Google-Smtp-Source: AKy350YOrLRfvpPaK1QtaXUj8AW2AUV/AqWbLJkJ3CJyWxrxe2KpKFUiy/DlJ2WIQ1YH4e3hjtnl X-Received: by 2002:a17:90a:bb82:b0:234:31f3:e00f with SMTP id v2-20020a17090abb8200b0023431f3e00fmr775030pjr.43.1681856018095; Tue, 18 Apr 2023 15:13:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681856018; cv=none; d=google.com; s=arc-20160816; b=rLr5IgiYi0P6RiSvH8ZHA9uIsQsLlANPDDg195nK9/QdD/b7NiKNPZxuFj2KOpeUY5 2WzrpoDb1HsVtiq1/UU0zUAU73VuxeDy2rBDXPTBvXUZdeaCs54BGHv4Vbp6T06EUoFm OcKZyDjVZnks1VkKRELhSO7FSSQn6bkKAWNUz3fJeg5w12UJcxChX5+INMcW0FPk7zZ8 4m8nf6qLkYIDIMkLzf/rmMrUU1Z/ZPRRuQmuSAHNW2zpK7HqwE/wHss5yQcfmhICsD1A 6eCm32vxMHMUVSqPmcqVPGp098oZ3DM28yj4x8oqhrL/1bLM0K95XWaVrUWtQtbw9z/I F2LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=B6jyoHU+OtwlwNHO75Hm12BEhUCsfKecx1dMSiSeSio=; b=xKSYBtxwSii+KbB2ezIf21bUSYHALG6Enw1+KW7r3Ma6i+JSBhKIzOE94BjrSIzXcG Mu3Z/aPQFDFjIhjgWhXF18tYxsrhJ1UtYFGL861xHQAH8LMhUVp6MRldNCKel4E5hpEp p/205sTwjy3ScTTVOPL4m2nkKxvVTNkO55H7x7e6cinJyEay2rnoLJFXCusAFxiczVT4 2A4At7QIv5EVCMN2Buu5CeHlhCv3ODw7x0Afq/8eE5TWqch6mcWLtIG2pT04OuIcH05A PTm+GAGmOTHJ214qBuTl8Y/w/MRPr8Ub9z46vjjpajrQy8GLJI2nJw5fMzzcZ/vr3aW9 D54w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tGuC/XLS"; 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=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a17090ac98400b002474c0c63ebsi305006pjt.0.2023.04.18.15.13.23; Tue, 18 Apr 2023 15:13:38 -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=@kernel.org header.s=k20201202 header.b="tGuC/XLS"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232954AbjDRVog (ORCPT + 99 others); Tue, 18 Apr 2023 17:44:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232331AbjDRVoe (ORCPT ); Tue, 18 Apr 2023 17:44:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 173E34C1B; Tue, 18 Apr 2023 14:44:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A40F662E5F; Tue, 18 Apr 2023 21:44:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C49DC4339C; Tue, 18 Apr 2023 21:44:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681854272; bh=PEJ21Jum+8RkGBoHGrrQC2DdRUmxtG2ZVlTGGrsyUic=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tGuC/XLSVrXqEujsgvql/IRDy7Wrla/QrdVy0fr/0AWv5wVdnDVzTwltqM2r6UAp1 SHhLoQi+2DPpMhYOj7XxFJPfoThVJp2dLZJyQAaOzhbFHg4SFVmHaf/CjxjRjYX9gP pWdRfYiVWMcQkdCg67cWSGPiTEmoEUATcGkaXV7TwzZXIBdT1XCbEu5l0k+Hu90Jkb tqLimTXcw1PPyiMqtAy/DoZMd/aAs03Zl5A4R+g0+AbKk3gx6pgtNwgiBLaV1uVi4w gQh574fNpYajHkjPlYnP2KgWCEXHhJdLRtmtIHtgkBCDNjtWzLVzIKByKzmGP+E1WQ aw0/pxTQu1GMA== From: Miguel Ojeda To: Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor Cc: Boqun Feng , Gary Guo , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Josh Stone , William Brown , Georgy Yakovlev , Jan Alexander Steffens , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: [PATCH 1/3] rust: alloc: clarify what is the upstream version Date: Tue, 18 Apr 2023 23:43:45 +0200 Message-Id: <20230418214347.324156-2-ojeda@kernel.org> In-Reply-To: <20230418214347.324156-1-ojeda@kernel.org> References: <20230418214347.324156-1-ojeda@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763553855933576576?= X-GMAIL-MSGID: =?utf-8?q?1763553855933576576?= It may be unclear for readers which upstream Rust version these files are based on. They may be unaware that they are intended to match the minimum (and only, so far) supported version of Rust in the kernel. Thus clarify it. Signed-off-by: Miguel Ojeda Reviewed-by: Martin Rodriguez Reboredo Reviewed-by: Benno Lossin Reviewed-by: Gary Guo Reviewed-by: Björn Roy Baron --- rust/alloc/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust/alloc/README.md b/rust/alloc/README.md index c89c753720b5..eb6f22e94ebf 100644 --- a/rust/alloc/README.md +++ b/rust/alloc/README.md @@ -10,6 +10,9 @@ upstream. In general, only additions should be performed (e.g. new methods). Eventually, changes should make it into upstream so that, at some point, this fork can be dropped from the kernel tree. +The Rust upstream version on top of which these files are based matches +the output of `scripts/min-tool-version.sh rustc`. + ## Rationale