From patchwork Sun Aug 28 14:47:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 42056 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3980427BBEA; Sun, 28 Aug 2022 15:49:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 05C5C27BBE9 for ; Sun, 28 Aug 2022 15:49:17 +0100 (BST) Received: from localhost ([::1]:33680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSJbA-00080e-7Z for patchwork@mira.cbaines.net; Sun, 28 Aug 2022 10:49:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSJa6-0005mZ-K9 for guix-patches@gnu.org; Sun, 28 Aug 2022 10:48:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSJa6-0006Zq-AJ for guix-patches@gnu.org; Sun, 28 Aug 2022 10:48:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSJa6-0001DY-5M for guix-patches@gnu.org; Sun, 28 Aug 2022 10:48:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57462] [PATCH 14/15] gnu: rust: Don't ask to run tests when cross-compiling. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Aug 2022 14:48:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57462 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57462@debbugs.gnu.org Received: via spool by 57462-submit@debbugs.gnu.org id=B57462.16616980834556 (code B ref 57462); Sun, 28 Aug 2022 14:48:10 +0000 Received: (at 57462) by debbugs.gnu.org; 28 Aug 2022 14:48:03 +0000 Received: from localhost ([127.0.0.1]:59481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSJZy-0001BC-Ej for submit@debbugs.gnu.org; Sun, 28 Aug 2022 10:48:02 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:39788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSJZn-00017k-8n for 57462@debbugs.gnu.org; Sun, 28 Aug 2022 10:47:53 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by xavier.telenet-ops.be with bizsmtp id D2no2800B20ykKC012nqlS; Sun, 28 Aug 2022 16:47:50 +0200 From: Maxime Devos Date: Sun, 28 Aug 2022 16:47:47 +0200 Message-Id: <20220828144748.15575-14-maximedevos@telenet.be> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220828144748.15575-1-maximedevos@telenet.be> References: <20220828144435.15239-1-maximedevos@telenet.be> <20220828144748.15575-1-maximedevos@telenet.be> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1661698070; bh=rF1Dtv++oqUK7iqjqNNzzH4zJMM0oJGQ0vJYp54Ru0c=; h=From:To:Subject:Date:In-Reply-To:References:Reply-To; b=cMvOa9bB6iE48YgZouSykntbuhhkO6dytLO6/3lVh/6qp+dgw2DVOkmST9hhxVOoL H8vUUkL5VYmsa8bDW85PYGp2yWhV+WENbCqZ4urg1W6zhpWi89MKPEZ7zFwin7FvdD lATyETWKBFFgmHpRY0Bo9Ob8h4ZAKmeXFJcJZFaEY4iU99ERByxPoCrB+oSgRSSjOK q1hBCy1O4yjA2vi6kLghjbk+0JvrEUDyoH5KWTN5q3o/+TiF64FHlqI6KcjUZhtcqj DLXqaGCQhoScy0R1A2ug0xy//jJGTtdu/B5KOAZZcbZM/bHZIG4hhKgC8bQfUKokuN x31zdGstzhRWA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: 57462@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/rust.scm (rust-1.57)[arguments]{#:tests?}: When cross-compiling, set to #false. --- gnu/packages/rust.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 67dc5cdaf3..5801a00f2b 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -654,7 +654,7 @@ (define rust-1.57 (arguments (substitute-keyword-arguments (package-arguments base-rust) ((#:tests? _ #f) - #t) + (not (%current-target-system))) ((#:phases phases) `(modify-phases ,phases (add-after 'unpack 'relax-gdb-auto-load-safe-path