From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: rust (build system) deficits Date: Sun, 8 Mar 2020 18:16:25 +0100 Message-ID: References: <6d384619-25a9-5699-bda5-5f4bf9380976@crazy-compilers.com> <543D2B96-0DD4-4274-BAF4-1761897DF812@asu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49710) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAzXT-0000X7-SF for guix-devel@gnu.org; Sun, 08 Mar 2020 13:16:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAzXS-0006wK-RV for guix-devel@gnu.org; Sun, 08 Mar 2020 13:16:31 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:44000) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jAzXS-0006uV-LM for guix-devel@gnu.org; Sun, 08 Mar 2020 13:16:30 -0400 In-Reply-To: <543D2B96-0DD4-4274-BAF4-1761897DF812@asu.edu> Content-Language: en-US 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-mx.org@gnu.org Sender: "Guix-devel" To: John Soo Cc: Guix-devel Hi John, > My proposal is to: > * move cargo-{development-}inputs into inputs, requiring only the sourc= e from libraries. > * either: > - move the rust closure function so all packages use it > Or > - adjust the transitive closure function such that it works on normal= inputs rather than arguments > * Do not build rust packages by default. Only run tests. > * as a corollary to the previous item: Default skip-build? to #f but do= run tests even if skip-build is #f and tests? is #t Actually I do not care so much about=C2=A0 cargo-{development-}inputs fie= lds. The much more serious issue is that we are not able to build non-trivial Rust applications: Given a package which needs to add phases, e.g. for fixing Cargo.toml, we would need to run each package's phases when building any depending package. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |