From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cE3jLC14cmcPEAAA62LTzQ:P1 (envelope-from ) for ; Mon, 30 Dec 2024 10:38:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cE3jLC14cmcPEAAA62LTzQ (envelope-from ) for ; Mon, 30 Dec 2024 11:38:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=tRq4zkhW; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=5M45HzEt; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735555117; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=vh81eNIwfbP3L+P0PTs0GelVrIFuu8iiNRqDwo1SCQE=; b=oA7w5wpATICesIKjqyyYd7i8EMt/v4ruypWRLREVO9G9+dk1PpqqWCtsGpTbi8g4Y+8zsN Zt4M4a3m4EKhl+zq0nz9zhzFsKkHX12QqwktJAc7XitDjVQFoCyz3a0hmvA4uQy9oI587O al/s5GZ5AmyKj/y/oFwW4MTPiNNkM93uLyw7so/EAEEnG4Ou5B//OQ//kItNcrywOR71KP dYbsM14RFEul/gMlrN2l6TrXpUf6MeSwqrysaRH4u0GdyYroNb1VP6T6/kx8FlvCHG8IKe HbOp8oAmEz9G/jydIPvF/fTPcMRVTJ3bfcUibscAzQLJbBaQ/hV5D0i8rqhU7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=tRq4zkhW; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=5M45HzEt; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735555117; a=rsa-sha256; cv=none; b=rqGc9y8Zy51zbjk/VtngrFnPjfiVSxgCo6Z0psVVnPv2oldUiozMLolPlOWDfe85KKaBcX 8jbce/VHl71FFa6lO5sAVs6eF9N2nkUncXme0Mngjffc/tsMnsS8rCFsmhFMc59cmL2Xmr qNMHVWAQ2MNcEv/IyWZKpWzXHQj8kNwIJq3Pubn5+cmFXDVfg+3+yF4WT/79dZCEutyanK ejGMpHjQnfn5tXwUnHfM8Eb6Vv38gUNigm7dOx2HJjAnzMjO5aVK+tKIPAgxUCmqKRHD76 ButmfSTx9WBurgJfR9G6YCqltSGHf+xb+d1N5w2ewiPA/l8jdVq0j5fL6PXl0g== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 83F8B7E789 for ; Mon, 30 Dec 2024 11:38:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSD9y-0001gH-Ot; Mon, 30 Dec 2024 05:38:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSD9v-0001g2-Km for guix-patches@gnu.org; Mon, 30 Dec 2024 05:38:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSD9u-0008TG-Sc for guix-patches@gnu.org; Mon, 30 Dec 2024 05:38:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=vh81eNIwfbP3L+P0PTs0GelVrIFuu8iiNRqDwo1SCQE=; b=tRq4zkhWJ3hPWjR/eSgK03T+b+GMilwIEpvU2xd5zVYsD8DVnz9fqOcv/37PLr+xRR7hc6iMsHn1Am35+m6cx4cEyYD4ZDrrQh7meluvonIt2MSDyssoryu+0SBs6PS2/dTTM2VYgLfSB0G2F0tUll2XGnTHMlUzVmIvlk1hiU2VGC7L8Dxj6mcY0f+WDvF7Zk3BJd+evbL3gV04HAWT+8kXW6PKnv6Y8luXQT7zKW5zLkOHtDzqL3oaZpg8j0OfjIsY1NLdP4NqQ76BnvBjl24YxeGaqlpMT1PpxsqZ1yHGzlyY8fBkLCKoiuu2L56E2ikDTNA+SjvLSFZEHaf5qQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSD9u-0001GH-Dj for guix-patches@gnu.org; Mon, 30 Dec 2024 05:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64904] [WIP] rust-build-system proposition Resent-From: ngraves@ngraves.fr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2024 10:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64904 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: jgart , 64904@debbugs.gnu.org Received: via spool by 64904-submit@debbugs.gnu.org id=B64904.17355550294776 (code B ref 64904); Mon, 30 Dec 2024 10:38:02 +0000 Received: (at 64904) by debbugs.gnu.org; 30 Dec 2024 10:37:09 +0000 Received: from localhost ([127.0.0.1]:57451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSD93-0001Ey-CL for submit@debbugs.gnu.org; Mon, 30 Dec 2024 05:37:09 -0500 Received: from 10.mo575.mail-out.ovh.net ([46.105.79.203]:42047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSD8y-0001Ek-On for 64904@debbugs.gnu.org; Mon, 30 Dec 2024 05:37:08 -0500 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.139.163]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4YMCG63TX7z1lBp for <64904@debbugs.gnu.org>; Mon, 30 Dec 2024 10:37:02 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-w67sh (unknown [10.110.178.62]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D6B6E1FD24; Mon, 30 Dec 2024 10:37:01 +0000 (UTC) Received: from ngraves.fr ([37.59.142.103]) by ghost-submission-5b5ff79f4f-w67sh with ESMTPSA id LvWUJ813cmdr+gAA3+hvSg (envelope-from ); Mon, 30 Dec 2024 10:37:01 +0000 X-OVh-ClientIp: 90.92.117.144 In-Reply-To: <87pll9sn76.fsf@dismail.de> References: <87pm4de277.fsf@ngraves.fr> <87pll9sn76.fsf@dismail.de> Date: Mon, 30 Dec 2024 11:37:01 +0100 Message-ID: <877c7h4fua.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 8632837539771245305 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddruddviedgudekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffujghffffkgggtsehttdertddttddtnecuhfhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhenucggtffrrghtthgvrhhnpeduhfevueeiudefffejgfffheelvddvfffhteeutdfguddvhefgjeehgeduhedtueenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggedpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieegledtgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=vh81eNIwfbP3L+P0PTs0GelVrIFuu8iiNRqDwo1SCQE=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1735555022; v=1; b=5M45HzEtUZEJ7vziq1bPbLwuBDgFAI9VGt9fzGfcr87W7rV64fJu1I9FBwujvOwBMkiynQ0N /CZizJ5dzyKd3e93yQMf6h0UAy/JPP0je9RA4eEsZnzO40bm03ZnDoZPiff6g6rROVE01yk3iVo Kmb48qqaICV70xka+8iuxFwgIMlRzI444Gb41NWRAM0gJP9FNAsgZKEIFkHTOaNaWNmENSMM+iQ J3S1/0Ef3VXnaq+UijMQnGdqhcAj6+CHraVj5lCARpYHQOyFXKHEPV7q64MeognuUOKjYrSg0u2 9IlX6jdG9vB/mBYBkYrdCJAsPG1DDgHUv5hC0rB+07wbg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: ngraves@ngraves.fr X-ACL-Warn: , ngraves--- via Guix-patches From: ngraves--- via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -6.70 X-Spam-Score: -6.70 X-Migadu-Queue-Id: 83F8B7E789 X-TUID: lVf9tMPNxl97 On 2024-12-30 00:24, jgart via Guix-patches via wrote: > Hi, > > What's the status on this ticket? I most likely lost the data with my recent computer issues, such a shame that was a lot of work (1-2 months part-time). As a record if someone wants to follow through, what I did from memory, it worked well: - moved antioxidant-build-system to rust-build-system - rust-build-system was actually a rust-workspace-build-system, with the logic that a single package was a workspace of one package - I moved most of the state from antioxidant-build-system to arguments, was finishing that, there was only 3-5 arguments left. - for workspaces, an output was a package - for some crates-gtk.scm or crates-crypto.scm, the whole file could be summarized into one or two packages with multiple outputs. (This should be a more general conversation, Go and Node have the same workspace logic that we should be able to build on, and avoid managing in Guix was can be done through workspaces. That was one of my blockers, not having inputs on whether was I was doing would eventually be adopted due to this). The huge upside from all this was that our cargo-build-system rebuilds everything for every package, while the declarative nature of guix allows to avoid that. Compiling all rust packages with rust-build-system was actually doable on a good computer in less than a day. Not possible with cargo-build-system. -- Best regards, Nicolas Graves