From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: [PATCH 1/7] build-system: Add cargo build system. Date: Wed, 14 Dec 2016 12:48:41 +0100 Message-ID: References: <20160928151538.11679-1-david@craven.ch> <87shsccwpv.fsf@gnu.org> <87k2b9s3e5.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <87oa0lchl1.fsf@gnu.org> <877f73sqbc.fsf@gnu.org> <87inqnmqcd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cH84Y-0005Fd-Hb for guix-devel@gnu.org; Wed, 14 Dec 2016 06:50:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cH84T-00015d-64 for guix-devel@gnu.org; Wed, 14 Dec 2016 06:50:10 -0500 Received: from mail-qk0-f196.google.com ([209.85.220.196]:33282) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cH84T-0000ty-14 for guix-devel@gnu.org; Wed, 14 Dec 2016 06:50:05 -0500 Received: by mail-qk0-f196.google.com with SMTP id x190so2299653qkb.0 for ; Wed, 14 Dec 2016 03:49:42 -0800 (PST) In-Reply-To: <87inqnmqcd.fsf@gnu.org> 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: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel > Would that help? Awesome! Thank you. The bootstrapping solution turned out much better. I added the #:system argument to rustc-bootstrap and cargo-bootstrap and moved the gcc -> cc symlink into rust-bootstrap, so that we get a native toolchain. We can build rustc on i686 and x86_64 using the same binary.