From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KCh5BAjRRmKAVwAAgWs5BA (envelope-from ) for ; Fri, 01 Apr 2022 12:16:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mOUcAQjRRmIFZwEAauVa8A (envelope-from ) for ; Fri, 01 Apr 2022 12:16:40 +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 A97652AC78 for ; Fri, 1 Apr 2022 12:16:39 +0200 (CEST) Received: from localhost ([::1]:58394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naEKc-0001NU-9n for larch@yhetil.org; Fri, 01 Apr 2022 06:16:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naEDC-0004e2-Uo for guix-devel@gnu.org; Fri, 01 Apr 2022 06:08:59 -0400 Received: from [2a02:1800:120:4::f00:13] (port=40026 helo=baptiste.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1naEDA-0006Ih-V2 for guix-devel@gnu.org; Fri, 01 Apr 2022 06:08:58 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id DN8t2700V4UW6Th01N8uD0; Fri, 01 Apr 2022 12:08:54 +0200 Message-ID: Subject: Re: Compiling rust things without cargo (super WIP POC) From: Maxime Devos To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Fri, 01 Apr 2022 12:08:53 +0200 In-Reply-To: <87lewpnp8s.fsf@gnu.org> References: <32ae0e474e295fa7f7052abd1bbb8053d2fddf16.camel@telenet.be> <36c1a8dcb363f8780b45156058ea606d0dd50854.camel@telenet.be> <87lewpnp8s.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-WqfZjk+hS3jdRybnYxUe" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648807734; bh=7DbU0y4bD6edVqe5JVKMq4CtqodruxTdfCUYjeiJv/A=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=We2fyn5oQ8YRKdpfHjbEMFQoz/QVAhl617GwJpaHbtjzTGMjHNEUb7PoyzpE8XqFP 99WpkP1WfNHjaf9ie3qSHdupBlrQFf3OKnU2oGH8L6ra9f8rlpThJekNOgEN95Ij9u jNGKzAaYDVVKjSYzxWkGf+JQMNklAnOrZKrTRvD1RyngU5kntwbqHxN2hKB7Q2ZBvG g5Y+vn61EQLepNbYBOG0tySEuLAvnReLt0T+HoRAqT98ms7j8resLl2af0WGUsnKeC L4b/lTp9cVxCCALoCY2Rx1GHF97vpszBPrueuOqoJRDN3OupyRqe3i+Jnrwyy11iLM XBfJWmoPgEXuw== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:120:4::f00:13 (failed) Received-SPF: pass client-ip=2a02:1800:120:4::f00:13; envelope-from=maximedevos@telenet.be; helo=baptiste.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: guix-devel@gnu.org, Martin Becze Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648808199; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7DbU0y4bD6edVqe5JVKMq4CtqodruxTdfCUYjeiJv/A=; b=YUyJz2HTrLCP+imjBdWscHrk5cPb3owCgT1uL/5F1RpH4wJG9CudTHt0DVGQQy5HsfESz7 p80CXH3vkzLqaP36QW+U0F7Jtm4i2FskTvdwt9BRBaPBUUDB7bPdILHWnr6qBFtE7/DXTN sYmUbaQlVCIs5viwR6weS2+u6qinaGjfDwSA/hNAXTo2ItvAapDbQNMmhhRtXP54cy2JdD vXRHwCenjjhwSUlzz8gG8xkoWXoYC2+PnJjXJ1Dt91JqlVoVNgmwj6lINVhpxwimet6mac iuWQTTMKmzwmNP8gKqhwqtTfvwREjU8JSCdpf4CJFvDsKVIKReZb5E0xLvP2Pw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648808199; a=rsa-sha256; cv=none; b=SqAqw2p9Er+RwNnnEHzgT682zhoTzfeqfQqUD+E+YhRU7tvw5JQbOjOVCpH/q83BksExie Th1MrplzHLjWyOsiTuereteQ0Efj6sqRmngHNBnZo/CWGWHwgd4EaiPRO2CfxTGNwg6jZt ScpVDmmqY+1n1qFB7eNS5DBWtxwEmcGiEmN7Is8cLQB8JdZnGU1iUmFDCPQuqVxsBRAoSh ChJH48VyP5C7GiQ+9ZxKtPfXrj0VxMZYVHzwzfWK+O+kLJJX6BFz1wpgk9hb0yAZYOcM7M Oul4SEc1m5MSnYMs95+KVay6Azqso3ssPx8xHHzNV9qkmge/TpWRHSuEvsy8Vw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=We2fyn5o; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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-Spam-Score: 3.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=We2fyn5o; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: A97652AC78 X-Spam-Score: 3.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: WfnRgkDEabpG --=-WqfZjk+hS3jdRybnYxUe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op vr 01-04-2022 om 11:10 [+0200]: > I guess the whole question is whether that technique can be made to work > for the vast majority of Rust packages.=C2=A0 I=E2=80=99d suggest working= in that > direction: writing a build system as a first step, using it in all the > Rust packages, and analyzing the kinds of problems encountered, with the > goal of estimating the effort it would take to make it work for every > single package.=C2=A0 Easier said than done, I guess. Do you know a =E2=80=98real=E2=80=99 Rust applications with few transitive = dependencies (say, 3 or so) with preferably few rust source files? That would be a practical target for the ad-hoc Makefile and eventually, the new antioxidant-build-system. Greetings, Maxime. --=-WqfZjk+hS3jdRybnYxUe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkbPNRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lzVAP9NKHm7sZp9NJsOxiq9lGc90OkW oCGGY2n/kon+YrwocAEAuYPm5VEHHGtIlCXtzU06X05OPFA6wLwl/v74RagoIAA= =kOFk -----END PGP SIGNATURE----- --=-WqfZjk+hS3jdRybnYxUe--