From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies Date: Mon, 02 Jan 2017 00:46:09 +0000 Message-ID: <87zijathke.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> 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]:51681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNqlL-00028m-Ah for bug-guix@gnu.org; Sun, 01 Jan 2017 19:46:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNqlG-0004zC-Eh for bug-guix@gnu.org; Sun, 01 Jan 2017 19:46:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51749) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cNqlG-0004z4-BO for bug-guix@gnu.org; Sun, 01 Jan 2017 19:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cNqlG-0007cJ-5F for bug-guix@gnu.org; Sun, 01 Jan 2017 19:46:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNql1-00026g-Au for bug-guix@gnu.org; Sun, 01 Jan 2017 19:45:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNqkw-0004rR-E3 for bug-guix@gnu.org; Sun, 01 Jan 2017 19:45:47 -0500 Received: from aibo.runbox.com ([91.220.196.211]:35478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cNqkv-0004qX-N3 for bug-guix@gnu.org; Sun, 01 Jan 2017 19:45:42 -0500 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cNqkt-0004A1-6M for bug-guix@gnu.org; Mon, 02 Jan 2017 01:45:39 +0100 Received: from [85.159.237.210] (helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1cNqkq-0006hc-8x for bug-guix@gnu.org; Mon, 02 Jan 2017 01:45:36 +0100 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 25327@debbugs.gnu.org The cargo build-system should be able to filter out Windows dependencies. Ignore blocks with this in Cargo.toml files: [target.'cfg(windows)'.dependencies] until the next [ ] starts. I also found that most *32-sys packages (currently ALL *32-sys I've seen) are windows specific. As the build system is simple enough to not complain, you just have to learn about this while doing the work. -- ♥Ⓐ ng0 PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org