aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-09-13 17:14:40 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2018-09-13 17:17:15 +0200
commitb78fe27b317c34411ea3770fd7dbd61fc5af3411 (patch)
tree37939dcc772f1b349b29b562e54c0cd066fec49d /gnu
parent6fe73b487b46fa8c60e8aee7e2d2a642e5024077 (diff)
downloadpatches-b78fe27b317c34411ea3770fd7dbd61fc5af3411.tar
patches-b78fe27b317c34411ea3770fd7dbd61fc5af3411.tar.gz
gnu: rust@1.25.0: Disable pedantic test.
* gnu/packages/rust.scm (rust-1.25)[arguments]<#:phases> [disable-nil-enum-test]: New phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 448ce893d4..780c2830c6 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -719,6 +719,13 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
(substitute* "config.toml"
(("codegen-tests = false") ""))
#t))
+ ;; FIXME: Re-enable this test if it's indeed supposed to work.
+ ;; See <https://github.com/rust-lang/rust/issues/54178>.
+ (add-after 'enable-codegen-tests 'disable-nil-enum-test
+ (lambda _
+ (substitute* "src/test/debuginfo/nil-enum.rs"
+ (("ignore-lldb") "ignore-gdb"))
+ #t))
(replace 'patch-aarch64-test
(lambda _
(substitute* "src/librustc_metadata/dynamic_lib.rs"