From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: rust: Crate Dependencies Date: Thu, 29 Dec 2016 12:33:11 +0000 Message-ID: <87k2ai6hko.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> References: <20161228155134.3dedfd06@scratchpost.org> <20161229121255.750fa1e3@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMZtS-0000jZ-6L for guix-devel@gnu.org; Thu, 29 Dec 2016 07:33:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMZtP-0003va-3N for guix-devel@gnu.org; Thu, 29 Dec 2016 07:33:14 -0500 Received: from aibo.runbox.com ([91.220.196.211]:35962) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cMZtO-0003vI-SN for guix-devel@gnu.org; Thu, 29 Dec 2016 07:33:11 -0500 In-Reply-To: <20161229121255.750fa1e3@scratchpost.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: Danny Milosavljevic Cc: guix-devel Danny Milosavljevic writes: > Hi David, > > On Thu, 29 Dec 2016 11:49:19 +0100 > David Craven wrote: > >> It matters very >> much which versions of rustc and cargo are used > > I used the versions in your v2 patch. I also tried ng0's update which didn't improve things. Same here for libc crate after the update, but I guess that's because cargo is currently packaged and used from the bootstrap rust, which is dated one version before the actual rustc you can use now, so 0.13.0 cargo and 0.14.0 rustc. I hope packaging cargo on its own will add the support for namespaces. > > How does rustc find the (Rust) dependencies when building a package in cargo-build-system? There doesn't seem to be a RUST* or CARGO* environment variable or anything when I do "guix environment rust-c-vec --fallback". (Note that I picked rust-c-vec to fix first because it has only rust-libc as dependency) > > I read that there are actual Rust binary libraries, seldomly used, and everything-included-only-as-source otherwise. How do I specify which it is? > > Or is that not implemented yet? > > I tried specifying the latter as native-inputs - which doesn't seems to work either... > > -- ♥Ⓐ ng0 PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org