[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/311: gnu: rust: Update to 1.73.0.
From: |
guix-commits |
Subject: |
01/311: gnu: rust: Update to 1.73.0. |
Date: |
Sat, 28 Oct 2023 16:37:17 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit d98095448200dc2d95404a0447ebcb9a1af8422c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 23 10:42:13 2023 +0300
gnu: rust: Update to 1.73.0.
* gnu/packages/rust.scm (rust): Update to 1.73.0.
[arguments]: Add phase to skip some tests using cargo publish.
Change-Id: I3b0539ce036805f606bfbc1a1bba98a95d4a22fe
---
gnu/packages/rust.scm | 35 +++++++++++++++++++++++++++++++++--
1 file changed, 33 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 2f1b6f90d7..aef59fe3c2 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -825,7 +825,7 @@ safety and thread safety guarantees.")
;;; 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.70))
+ (let ((base-rust rust-1.73))
(package
(inherit base-rust)
(outputs (cons* "rust-src" "tools" (package-outputs base-rust)))
@@ -856,11 +856,42 @@ safety and thread safety guarantees.")
'("fn fetch_downloads_with_git2_first_")))))
(add-after 'unpack 'disable-tests-requiring-mercurial
(lambda _
- (with-directory-excursion
"src/tools/cargo/tests/testsuite/init"
+ (with-directory-excursion
"src/tools/cargo/tests/testsuite/cargo_init"
(substitute* '("mercurial_autodetect/mod.rs"
"simple_hg_ignore_exists/mod.rs")
,@(make-ignore-test-list
'("fn case"))))))
+ (add-after 'unpack 'disable-tests-using-cargo-publish
+ (lambda _
+ (with-directory-excursion "src/tools/cargo/tests/testsuite"
+ (substitute* "alt_registry.rs"
+ ,@(make-ignore-test-list
+ '("fn warn_for_unused_fields")))
+ (substitute* '("cargo_add/locked_unchanged/mod.rs"
+ "cargo_add/lockfile_updated/mod.rs"
+ "cargo_remove/update_lock_file/mod.rs")
+ ,@(make-ignore-test-list
+ '("fn case")))
+ (substitute* "git_shallow.rs"
+ ,@(make-ignore-test-list
+ '("fn
gitoxide_clones_git_dependency_with_shallow_protocol_and_git2_is_used_for_followup_fetches"
+ "fn
gitoxide_clones_registry_with_shallow_protocol_and_aborts_and_updates_again"
+ "fn
gitoxide_clones_registry_with_shallow_protocol_and_follow_up_fetch_maintains_shallowness"
+ "fn
gitoxide_clones_registry_with_shallow_protocol_and_follow_up_with_git2_fetch"
+ "fn
gitoxide_clones_registry_without_shallow_protocol_and_follow_up_fetch_uses_shallowness"
+ "fn
gitoxide_shallow_clone_followed_by_non_shallow_update"
+ "fn gitoxide_clones_shallow_two_revs_same_deps"
+ "fn
gitoxide_git_dependencies_switch_from_branch_to_rev"
+ "fn
shallow_deps_work_with_revisions_and_branches_mixed_on_same_dependency")))
+ (substitute* "install.rs"
+ ,@(make-ignore-test-list
+ '("fn failed_install_retains_temp_directory")))
+ (substitute* "offline.rs"
+ ,@(make-ignore-test-list
+ '("fn
gitoxide_cargo_compile_offline_with_cached_git_dep_shallow_dep")))
+ (substitute* "patch.rs"
+ ,@(make-ignore-test-list
+ '("fn gitoxide_clones_shallow_old_git_patch"))))))
(add-after 'unpack 'disable-tests-broken-on-aarch64
(lambda _
(with-directory-excursion "src/tools/cargo/tests/testsuite/"
- branch rust-team created (now b497cbb5ad), guix-commits, 2023/10/28
- 02/311: gnu: Add rust-adaptive-barrier-1., guix-commits, 2023/10/28
- 01/311: gnu: rust: Update to 1.73.0.,
guix-commits <=
- 07/311: gnu: rust-cargo-platform-0.1: Update to 0.1.4., guix-commits, 2023/10/28
- 08/311: gnu: Add rust-crossterm-0.26., guix-commits, 2023/10/28
- 13/311: gnu: rust-home-0.5: Update to 0.5.5., guix-commits, 2023/10/28
- 14/311: gnu: rust-is-terminal-0.4: Update to 0.4.9., guix-commits, 2023/10/28
- 15/311: gnu: Add rust-libloading-0.8., guix-commits, 2023/10/28
- 17/311: gnu: Add libgit2-1.6., guix-commits, 2023/10/28
- 04/311: gnu: rust-atomic-waker-1: Update to 1.1.2., guix-commits, 2023/10/28
- 03/311: gnu: rust-anyhow-1: Update to 1.0.75., guix-commits, 2023/10/28
- 05/311: gnu: rust-base64-0.21: Update to 0.21.4., guix-commits, 2023/10/28
- 06/311: gnu: rust-bytesize-1: Update to 1.3.0., guix-commits, 2023/10/28