From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: cargo-build-system: cargo-build-flags: --cfg=unix in package recipe Date: Tue, 3 Jan 2017 13:02:48 +0100 Message-ID: <20170103130248.6877ff1d@scratchpost.org> References: <20170103021018.64ac3887@scratchpost.org> <8737h0wftw.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cONnv-0007GO-5u for guix-devel@gnu.org; Tue, 03 Jan 2017 07:03:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cONnq-00075O-9b for guix-devel@gnu.org; Tue, 03 Jan 2017 07:02:59 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:40602) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cONnq-00075I-4A for guix-devel@gnu.org; Tue, 03 Jan 2017 07:02:54 -0500 In-Reply-To: <8737h0wftw.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> 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: ng0 Cc: guix-devel@gnu.org Hi ng0, On Tue, 03 Jan 2017 11:19:55 +0000 ng0 wrote: > It does indeed, and this would fix the bug I filed. > I've cut down the number of crates I packaged from 160 to 81 just > by removing the *32-sys and winapi dependencies after reading a > bit about the system. Just a heads-up, if there's a Cargo.lock file (e.g. Rust application) and you do that it will invalidate it. Happened to me. That's why in the WIP patch I don't remove the *32-sys and winapi dependencies if there is a Cargo.lock .