From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Rust Date: Sat, 30 Jul 2016 15:39:29 +0200 Message-ID: <87bn1fckj2.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTUUN-0005NG-49 for guix-devel@gnu.org; Sat, 30 Jul 2016 09:39:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTUUH-0008D6-By for guix-devel@gnu.org; Sat, 30 Jul 2016 09:39:38 -0400 In-Reply-To: (David Craven's message of "Fri, 29 Jul 2016 21:10:41 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel David Craven skribis: >> Can we reasonably expect to bootstrap it from source, >> using a series of previous Rust versions, or using an >> alternative implementation? > > Currently as Jelle said no. But there is [0] that may be a > viable option in the future. > > [0] https://github.com/thepowersgang/mrustc That would be great. >> Having crates available as normal Guix packages is the >> best option for Guix users: uniform interface, the ability >> to use =E2=80=98guix environment=E2=80=99 and all the tools, transaction= al >> upgrade and rollback, etc. > > I think with a cargo plugin that interacts with the guix daemon, The Guix daemon is very low-level, is has no idea what a package is, so it=E2=80=99d be the wrong place for such things IMO. What we did for other languages should work here: (1) provide an importer, and (2) provide a build system (we have =E2=80=98guix import cpan= =E2=80=99 and =E2=80=98perl-build-system=E2=80=99, and so on.) Ludo=E2=80=99.