GNU bug report logs - #49956
[PATCH] gnu: Add rust-1.53.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Matthew James Kraai <kraai@HIDDEN>; Keywords: patch; dated Mon, 9 Aug 2021 13:50:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Aug 2021 13:49:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 09 09:49:40 2021
Received: from localhost ([127.0.0.1]:56406 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mD5et-0006Nj-Go
	for submit <at> debbugs.gnu.org; Mon, 09 Aug 2021 09:49:40 -0400
Received: from lists.gnu.org ([209.51.188.17]:51450)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kraai@HIDDEN>) id 1mD5ec-0006NO-Nz
 for submit <at> debbugs.gnu.org; Mon, 09 Aug 2021 09:49:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59066)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kraai@HIDDEN>) id 1mD5eY-0006O3-T8
 for guix-patches@HIDDEN; Mon, 09 Aug 2021 09:49:22 -0400
Received: from mail.ftbfs.org ([52.8.68.13]:60708 helo=aws.ftbfs.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kraai@HIDDEN>) id 1mD5eV-0002xm-OD
 for guix-patches@HIDDEN; Mon, 09 Aug 2021 09:49:17 -0400
Received: from ip68-228-72-85.oc.oc.cox.net ([68.228.72.85]
 helo=localhost.localdomain)
 by aws.ftbfs.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <kraai@HIDDEN>)
 id 1mD5eN-0007M2-Fx; Mon, 09 Aug 2021 13:49:10 +0000
From: Matthew James Kraai <kraai@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add rust-1.53.
Date: Mon,  9 Aug 2021 06:49:03 -0700
Message-Id: <20210809134903.19916-1-kraai@HIDDEN>
X-Mailer: git-send-email 2.32.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Status: No (score -1.0): ALL_TRUSTED=-1
Received-SPF: pass client-ip=52.8.68.13; envelope-from=kraai@HIDDEN;
 helo=aws.ftbfs.org
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
Cc: Matthew James Kraai <kraai@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

* gnu/packages/rust.scm (rust-1.53): New variable.
---
 gnu/packages/rust.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 73f94a3929..bb4da17243 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@HIDDEN>
 ;;; Copyright © 2020, 2021 Jakub Kądziołka <kuba@HIDDEN>
 ;;; Copyright © 2020 Pierre Langlois <pierre.langlois@HIDDEN>
-;;; Copyright © 2020 Matthew James Kraai <kraai@HIDDEN>
+;;; Copyright © 2020, 2021 Matthew James Kraai <kraai@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1474,5 +1474,31 @@ move around."
         (alist-replace "llvm" (list llvm-12)
                        (package-inputs base-rust))))))
 
+(define-public rust-1.53
+  (let ((base-rust
+         (rust-bootstrapped-package rust-1.52 "1.53.0"
+           "1f95p259dfp5ca118bg107rj3rqwlswy65dxn3hg8sqgl4wwmxsw")))
+    (package
+      (inherit base-rust)
+      (arguments
+       (substitute-keyword-arguments (package-arguments base-rust)
+         ((#:phases phases)
+          `(modify-phases ,phases
+             ;; Some tests got split out into separate files.
+             (replace 'patch-tests
+               (lambda* (#:key inputs #:allow-other-keys)
+                 (let ((bash (assoc-ref inputs "bash")))
+                   (substitute* "library/std/src/process/tests.rs"
+                     (("\"/bin/sh\"") (string-append "\"" bash "/bin/sh\"")))
+                   (substitute* "library/std/src/sys/unix/process/process_common/tests.rs"
+                     (("fn test_process_mask") "#[allow(unused_attributes)]
+    #[ignore]
+    fn test_process_mask"))
+                   (substitute* "src/test/codegen/alloc-optimisation.rs"
+                     (("// min-llvm-version: 10.0.1") "// no-system-llvm"))
+                   (substitute* "src/test/ui/asm/sym.rs"
+                     (("// min-llvm-version: 10.0.1") "// no-system-llvm"))
+                   #t))))))))))
+
 ;; TODO(staging): Bump this variable to the latest packaged rust.
 (define-public rust rust-1.45)
-- 
2.32.0





Acknowledgement sent to Matthew James Kraai <kraai@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#49956; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 9 Aug 2021 14:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.