@@ -1100,11 +1100,16 @@ (define-public rust
#$@(make-ignore-test-list
'("fn case"))))))
(add-after 'unpack 'disable-tests-using-cargo-publish
+ ;; The publish procedure doesn't work in the build environment
+ ;; (see: https://github.com/rust-lang/rust/issues/120340).
(lambda _
(with-directory-excursion "src/tools/cargo/tests/testsuite"
(substitute* "alt_registry.rs"
#$@(make-ignore-test-list
'("fn warn_for_unused_fields")))
+ (substitute* "registry_auth.rs"
+ #$@(make-ignore-test-list
+ '("fn token_not_logged")))
(substitute* '("cargo_add/locked_unchanged/mod.rs"
"cargo_add/lockfile_updated/mod.rs"
"cargo_remove/update_lock_file/mod.rs")
From: Maxim Cournoyer <maxim.cournoyer@gmail.com> * gnu/packages/rust.scm (rust) [arguments]: Disable an extra test in the disable-tests-using-cargo-publish phase. Change-Id: I7d5d9603cfeeffd95f565b5bda455e28022fa745 --- gnu/packages/rust.scm | 5 +++++ 1 file changed, 5 insertions(+)