From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 152CBEE4993 for ; Wed, 23 Aug 2023 16:03:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237394AbjHWQDD (ORCPT ); Wed, 23 Aug 2023 12:03:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233326AbjHWQDB (ORCPT ); Wed, 23 Aug 2023 12:03:01 -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 E7A2B198 for ; Wed, 23 Aug 2023 09:02:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 77F1C64C73 for ; Wed, 23 Aug 2023 16:02:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0EFB7C433C8; Wed, 23 Aug 2023 16:02:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692806578; bh=0nMVgMfKCQ86W6q1+R6vMRrHNacAhbvlPwG6j1rqB4M=; h=From:To:Cc:Subject:Date:From; b=tjqh6EsDE3XpVEaxkkjfQsXeaEAxMSK8vGd2BcyuBnFu/NXxy05h4yxVHmik3m8aT 4KdCNVz4sGEJ0eIIZR6Ur3A37ZXKBCj4+J0RM4dopcp7hl+BS37MYuT+F2MEzyBLbM oPqD6BAE2+kcPYN69oTRxCpytyuXxVM86Z507avpPk7rX92f67rBGTcC14xFntB6hp FzrTI68dHRg2b+TvhzDfxr4pSkIA4Yy8aRUPn9yI/cQjcZYvpZWBGDjRIjikqWSKGo 9vsBMtI/t2DUZ/TaJU19YotCYPOwrJIReAWB+VQKvuC2tObHmQluSiHMGzKt/no4fe kHjyqU5yKwvaw== From: Miguel Ojeda To: Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor Cc: Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: [PATCH 0/2] Rust 1.72.0 upgrade Date: Wed, 23 Aug 2023 18:02:41 +0200 Message-ID: <20230823160244.188033-1-ojeda@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the third upgrade to the Rust toolchain since the initial Rust merge, from 1.71.1 to 1.72.0 (i.e. the latest, to be released tomorrow). Please see the main patch message for a long explanation of the upgrade, the policy for future upgrades and some indications on how to easily review this. The series is based on `rust-next`. Miguel Ojeda (2): rust: arc: add explicit `drop()` around `Box::from_raw()` rust: upgrade to Rust 1.72.0 Documentation/process/changes.rst | 2 +- rust/alloc/alloc.rs | 9 +- rust/alloc/boxed.rs | 10 +- rust/alloc/lib.rs | 10 +- rust/alloc/vec/drain_filter.rs | 199 ------------------------------ rust/alloc/vec/extract_if.rs | 115 +++++++++++++++++ rust/alloc/vec/mod.rs | 106 ++++++++-------- rust/kernel/sync/arc.rs | 2 +- scripts/min-tool-version.sh | 2 +- 9 files changed, 188 insertions(+), 267 deletions(-) delete mode 100644 rust/alloc/vec/drain_filter.rs create mode 100644 rust/alloc/vec/extract_if.rs base-commit: 4af84c6a85c63bec24611e46bb3de2c0a6602a51 -- 2.42.0