GNU bug report logs - #73154
[PATCH] gnu: rust: update to 1.81

Previous Next

Package: guix-patches;

Reported by: brennan <at> umanwizard.com

Date: Mon, 9 Sep 2024 18:25:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: brennan <at> umanwizard.com
Subject: bug#73154: closed (Re: [PATCH] gnu: rust: update to 1.81)
Date: Tue, 17 Sep 2024 09:58:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#73154: [PATCH] gnu: rust: update to 1.81

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 73154 <at> debbugs.gnu.org.

-- 
73154: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73154
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: brennan <at> umanwizard.com
Cc: 73154-done <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: rust: update to 1.81
Date: Tue, 17 Sep 2024 12:56:26 +0300
[Message part 3 (text/plain, inline)]
Thanks. Patch pushed to the rust-team branch.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: brennan <at> umanwizard.com
To: guix-patches <at> gnu.org
Cc: Brennan Vincent <brennan <at> umanwizard.com>, efraim <at> flashner.co.il
Subject: [PATCH] gnu: rust: update to 1.81
Date: Mon,  9 Sep 2024 14:23:56 -0400
From: Brennan Vincent <brennan <at> umanwizard.com>

gnu/packages/rust.scm (new variable): rust-1.81.
gnu/packages/rust.scm (rust): update to 1.81.

Change-Id: Idb1958364225bebb9aa415419083b6ab97d7c4c7
---
 gnu/packages/rust.scm | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 396e8a858a..a33399d8fc 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1050,6 +1050,12 @@ (define-public rust-1.80
                (("features = \\[\"fs\"" all)
                 (string-append all ", \"use-libc\""))))))))))
 
+(define-public rust-1.81
+  (let ((base-rust (rust-bootstrapped-package rust-1.80 "1.81.0"
+                                              "19yggj1qivdhf68gx2652cfi7nxjkdgy39wh7h6facpzppz4h947")))
+    (package
+      (inherit base-rust))))
+
 (define (make-ignore-test-list strs)
   "Function to make creating a list to ignore tests a bit easier."
   (map (lambda (str)
@@ -1064,7 +1070,7 @@ (define (make-ignore-test-list strs)
 ;;; Here we take the latest included Rust, make it public, and re-enable tests
 ;;; and extra components such as rustfmt.
 (define-public rust
-  (let ((base-rust rust-1.80))
+  (let ((base-rust rust-1.81))
     (package
       (inherit base-rust)
       (properties (append
@@ -1134,7 +1140,10 @@ (define-public rust
                       '("fn fetch_downloads_with_git2_first_")))
                  (substitute* "src/tools/cargo/tests/testsuite/build.rs"
                    ,@(make-ignore-test-list
-                      '("fn build_with_symlink_to_path_dependency_with_build_script_in_git")))))
+                      '("fn build_with_symlink_to_path_dependency_with_build_script_in_git")))
+                 (substitute* "src/tools/cargo/tests/testsuite/publish_lockfile.rs"
+                   ,@(make-ignore-test-list
+                      '("fn note_resolve_changes")))))
              (add-after 'unpack 'disable-tests-requiring-mercurial
                (lambda _
                  (with-directory-excursion "src/tools/cargo/tests/testsuite/cargo_init"
@@ -1222,7 +1231,12 @@ (define-public rust
                    ;; string "rustc"
                    ,@(make-ignore-test-list
                       '("fn config_fingerprint"
-                        "fn features_fingerprint")))))
+                        "fn features_fingerprint")))
+                 (substitute* "src/tools/cargo/tests/testsuite/git_auth.rs"
+                   ;; This checks for a specific networking error message
+                   ;; that's different from the one we see in the builder
+                   ,@(make-ignore-test-list
+                      '("fn net_err_suggests_fetch_with_cli")))))
              (add-after 'unpack 'patch-command-exec-tests
                ;; This test suite includes some tests that the stdlib's
                ;; `Command` execution properly handles in situations where
-- 
2.45.2





This bug report was last modified 246 days ago.

Previous Next


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