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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E4A2DC3ABC9 for ; Fri, 16 May 2025 17:54:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 8E60B414B9; Fri, 16 May 2025 17:54:00 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id i-r8zAOn8BMt; Fri, 16 May 2025 17:53:59 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 20D92414C3 Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 20D92414C3; Fri, 16 May 2025 17:53:59 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists1.osuosl.org (Postfix) with ESMTP id 27A37185 for ; Fri, 16 May 2025 17:53:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0D3CC414D6 for ; Fri, 16 May 2025 17:53:57 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id nuTVBF6xxJNo for ; Fri, 16 May 2025 17:53:56 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:4b98:dc4:8::225; helo=relay5-d.mail.gandi.net; envelope-from=thomas.petazzoni@bootlin.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 06463414C3 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 06463414C3 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::225]) by smtp4.osuosl.org (Postfix) with ESMTPS id 06463414C3 for ; Fri, 16 May 2025 17:53:55 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPA id C8702432F5; Fri, 16 May 2025 17:53:52 +0000 (UTC) To: buildroot@buildroot.org Cc: "Fiona Klute (WIWA)" , Thomas Petazzoni Date: Fri, 16 May 2025 19:53:48 +0200 Message-ID: <20250516175351.308323-1-thomas.petazzoni@bootlin.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdefudefgedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgrshcurfgvthgriiiiohhnihcuoehthhhomhgrshdrphgvthgriiiiohhnihessghoohhtlhhinhdrtghomheqnecuggftrfgrthhtvghrnhepheehheegveefheduvddtgeeifeevuefgffeguefhtdeitdetjeffteejieejgffgnecuffhomhgrihhnpehruhhsthdqlhgrnhhgrdhorhhgnecukfhppedvrgdtvdemkeegvdgrmeeghegrtgemleegtddumegufeduvgemvdefheemtgehvgdvmegvugekfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvrgdtvdemkeegvdgrmeeghegrtgemleegtddumegufeduvgemvdefheemtgehvgdvmegvugekfedphhgvlhhopeifihhnughsuhhrfhdrrddpmhgrihhlfhhrohhmpehthhhomhgrshdrphgvthgriiiiohhnihessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepfedprhgtphhtthhopegsuhhilhgurhhoohhtsegsuhhilhgurhhoohhtrdhorhhgpdhrtghpthhtohepfhhiohhnrgdrkhhluhhtvgesghhmgidruggvpdhrtghpthhtohepthhhohhmrghsr dhpvghtrgiiiihonhhisegsohhothhlihhnrdgtohhm X-GND-Sasl: thomas.petazzoni@bootlin.com X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1747418033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=JZsP8bJzbK0iQSACS22Ce/1FwlB9QtAuylzzkzKJfHc=; b=QUukCADQWzSruMgvgeL7DhY5utD3x1LYHIDo7c2/ltRHGLkqJK2EPoW4AxqZAcdAkpZhET BC86vdFdHpfLvt4K1lHV5y6B7gHVqncbl3fcmUq14Co1gsICQIxJYNooFaix+VvTNrKgwS wqkd2Io70rAo5ci0CAflVG99/DQXPvG46R3P5c98UeUnZ1RgZRCFH7v4/QMmagIF93hitS GYEkjC1mfZx6p8xCQOHcb8L+4TA7gDOd1Knwkusggh6rUSDOd4A9ynIAmlRjsodejYaEZm Y1x+patUOEpYuYbTO4T3JvS2SNPSLp44gGR+66gFg2ZeaDB7llyfBoOIOI4qWw== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=QUukCADQ Subject: [Buildroot] [PATCH v2 1/3] support/download: replace deprecated .cargo/config X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Thomas Petazzoni via buildroot Reply-To: Thomas Petazzoni Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: "Fiona Klute (WIWA)" With the current vendoring process, any Cargo build emits the following warning: warning: `.../.cargo/config` is deprecated in favor of `config.toml` .cargo/config.toml was introduced in 1.39 [1], so there shouldn't be backwards compatibility issues in Buildroot. However, because the generated config file becomes part of the vendored archive, this changes the hashes of all Cargo-based packages. [1] https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure Signed-off-by: Fiona Klute (WIWA) Signed-off-by: Thomas Petazzoni --- support/download/cargo-post-process | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/download/cargo-post-process b/support/download/cargo-post-process index 12198051a4..b0e59ad74d 100755 --- a/support/download/cargo-post-process +++ b/support/download/cargo-post-process @@ -31,14 +31,14 @@ post_process_unpack "${base_name}" "${output}" # Do the Cargo vendoring pushd "${base_name}" > /dev/null -# Create the local .cargo/config with vendor info +# Create the local .cargo/config.toml with vendor info mkdir -p .cargo/ mkdir -p "${CARGO_HOME}" flock "${CARGO_HOME}"/.br-lock \ cargo vendor \ --manifest-path "${manifest}" \ --locked VENDOR \ - > .cargo/config + > .cargo/config.toml # "cargo vendor' outputs on stderr a message directing to add some data # to the project's .cargo/config.toml, data that it outputs on stdout. -- 2.49.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot