From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ILHsChUvemR1PAEASxT56A (envelope-from ) for ; Fri, 02 Jun 2023 20:04:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aNc9ChUvemQ1QgAAG6o9tA (envelope-from ) for ; Fri, 02 Jun 2023 20:04:05 +0200 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 AC7632025A for ; Fri, 2 Jun 2023 20:04:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q597U-0005ep-R7; Fri, 02 Jun 2023 14:03:25 -0400 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 1q597Q-0005eR-Mp for guix-devel@gnu.org; Fri, 02 Jun 2023 14:03:20 -0400 Received: from 2.mo550.mail-out.ovh.net ([178.32.119.250]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q597F-0004i1-TY for guix-devel@gnu.org; Fri, 02 Jun 2023 14:03:20 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.156.39]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 8A7E226EA3 for ; Fri, 2 Jun 2023 18:02:51 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-62nkr (unknown [10.110.115.64]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 24DEA1FD5D; Fri, 2 Jun 2023 18:02:51 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-6684bf9d7b-62nkr with ESMTPSA id VlmCAcsuemTSZx8AuWveQg (envelope-from ); Fri, 02 Jun 2023 18:02:51 +0000 X-OVh-ClientIp: 81.67.140.142 To: guix-devel@gnu.org Cc: maximedevos@telenet.be Subject: rust-build-system from antioxidant Date: Fri, 02 Jun 2023 20:02:50 +0200 Message-ID: <87v8g5g2t1.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 3371788747679916760 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfeelfedguddujecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeekueelfefhgeefueffueelvdeiffdvhffhffeiledtudeugeegudfhgedtgedunecuffhomhgrihhnpegthhgrphhrihhlrdhorhhgnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidquggvvhgvlhesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=178.32.119.250; envelope-from=ngraves@ngraves.fr; helo=2.mo550.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves From: Nicolas Graves via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685729045; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=11ddgUdnbOqszCDqEGF9W4NF8k5U7tHIV9Cyl4Mc8Ok=; b=fY7rOlPM0dWhNgaScD34W5DcVrQNq2JGvfVyPlnVIl2bd9h/AsRx1wwdRTsZ3KoDYGfjMQ JHEx3fPkHJNaUCUeRPGYAgED9/2jQZtioDJ+PehEsXQsuJKddzm0BYnKfGEtG54savNUop M/z/8fGEmRwTey2piI6Vv0zHlLwgOO1d4wbSmicJGg1RjCjGM7ERwv4UwOAi4NSktf37oY nB26bzDGXjUlTtMwMF+agc6g6BI1R4rmFYgZW/M9XFEQ7nWCoo4Ap4deWwTn8Z+As3TVTT PXpJqxeN8mSXNQBM+ed4iWybmhI7zZuovuRF8XJnv0wC9yuJGX/DTzTN9baXeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685729045; a=rsa-sha256; cv=none; b=Rpkz3U0oN1bd3lYr7nkcq+i0QiAeITHZ4jlTkyVRsk1wqf7XHRQSr6t8d5FAKV81869Zv6 G54LscoRybuGVDC24KPlMohEmN3LZ9Cqtg1hBl4MRVig5euOD4TooceJrejwynnEq6L20p +2KraIi8plxdOW35dse/2/olnAM8RUgI+zDHm5ltCQWJ84eDUHFD+UJ54/sRZ/25qshHuQ P+/g/A03c0tF8Fuxh1DrMXa5T/AkcZWgnfl1HgE+HsLBuPk7WhYjCZXuKSzLP2jNSTrkM7 zGVHSKPnnnyR9f8ksDtGJs6eMrVwrD8psp+Y6olE9eKugsutGydff/dpPM81dA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.47 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AC7632025A X-Spam-Score: -3.47 X-TUID: /7+v3aVJgNKy A few months ago, Maxime Devos worked on a new rust-build-system to handle a few issues we were experiencing with cargo (see discussions on antioxidant in guix-devel). A month ago, we discussed about the possibility of the integration in core guix, and the required steps. Maxime and I had a different approach. Maxime highlighted the possibility to make a smooth transition but once that would require many gradual changes and deprecation. My approach was that since we'll have to eventually migrate all packages to rust-build-system, and since we can freeze all former rust packages in an archive channel, I would be clearer to make the transition at once. Took me quite some time from there, but thanks to the huge work of Maxime and a few rust patches, I've managed to compile ripgrep properly, along with more than 350 packages which represent all transitive inputs and native-inputs. It's basically a package-level copy of Maxime's work on antioxidant, with more focus on "bootstrapping" properly (very few packages are missing a test phase), and some work to cut down the number of dependencies. It's only a step, but a good one to continue the discussion about the integration of this build-system (and the way it should be integrated). You can find it in an archive right here for a 5 days (I would rather not create a new 8 Gb repo online for 100 kb transferred, sorry). https://drop.chapril.org/download/696f37be60f243fd/#-j9Nt_xiN9eUBCsHfMDHig If we manage to continue this to reach 100% builds like the antioxidant channel, we could indeed switch in one big commit. The workspace build-system is not included yet. -- Best regards, Nicolas Graves