summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-02-23 08:40:07 +0200
committerHilton Chain <hako@ultrarare.space>2025-08-21 19:07:41 +0800
commitb9ce21a0e698063bf15512778afa9de8e34d4df7 (patch)
treec4babeda8863ed3de9a9ff5b7cfc3ddca421b39c
parent70b84a0007d722cf43df7a461af5d0dcf8a555e9 (diff)
gnu: rust: Adjust skipped tests on riscv64-linux.
* gnu/packages/rust.scm (rust)[arguments]: Adjust the custom 'disable-tests-broken-on-riscv64 phase for tests broken on riscv64-linux. Change-Id: I6ffd451c75b45351a94cc07c5f4cf2db665aeef7
-rw-r--r--gnu/packages/rust.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index a2d0b185f5a..ce0f549f030 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1243,10 +1243,17 @@ safety and thread safety guarantees.")
,@(make-ignore-test-list
'("fn multiple_shared"
"fn multiple_download"
- "fn download_then_mutate")))
+ "fn download_then_mutate"
+ "fn mutate_err_is_atomic")))
(substitute* "global_cache_tracker.rs"
,@(make-ignore-test-list
- '("fn package_cache_lock_during_build")))))))
+ '("fn package_cache_lock_during_build"))))
+ (with-directory-excursion "src/tools/clippy/tests"
+ ;; `"vectorcall"` is not a supported ABI for the current target
+ (delete-file "ui/missing_const_for_fn/could_be_const.rs")
+ (substitute* "missing-test-files.rs"
+ ,@(make-ignore-test-list
+ '("fn test_missing_tests")))))))
`())
,@(if (target-aarch64?)
;; Keep this phase separate so it can be adjusted without needing