From: brennan@umanwizard.com
To: 73154@debbugs.gnu.org
Cc: Brennan Vincent <brennan@umanwizard.com>, efraim@flashner.co.il
Subject: [bug#73154] [PATCH] gnu: rust: update to 1.81
Date: Mon, 9 Sep 2024 14:23:56 -0400 [thread overview]
Message-ID: <20240909182356.2221764-1-brennan@umanwizard.com> (raw)
From: Brennan Vincent <brennan@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
next reply other threads:[~2024-09-09 18:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-09 18:23 brennan [this message]
[not found] ` <handler.73154.B.172590627118913.ack@debbugs.gnu.org>
2024-09-09 18:27 ` [bug#73154] Acknowledgement ([PATCH] gnu: rust: update to 1.81) Brennan Vincent
2024-09-10 5:46 ` Maxim Cournoyer
2024-09-17 9:56 ` bug#73154: [PATCH] gnu: rust: update to 1.81 Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240909182356.2221764-1-brennan@umanwizard.com \
--to=brennan@umanwizard.com \
--cc=73154@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.