efraim pushed a commit to branch rust-team
in repository guix.
commit 6fd32a14beb5b6732f27f18c36cf00cecaa82a42
Author: Aaron Covrig <[email protected]>
AuthorDate: Mon Dec 2 21:59:43 2024 -0500
gnu: rust-any-all-workaround-0.1: Enable building.
* gnu/packages/crates-io.scm (rust-any-all-workaround-0.1)[arguments]:
Don't skip the build. Add a phase to enable building.
Signed-off-by: Efraim Flashner <[email protected]>
Change-Id: I18bc4bd13178f1fa5515683eaa42a0f771d33dcb
---
gnu/packages/crates-io.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 01db3a418d..c60a7302b8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2314,8 +2314,12 @@ writing colored text to a terminal.")
(base32 "11ifmzawvvi6d4r1lk0dkdnbswf574npgkika4535k7j6l3s9zl8"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t ; `#![feature]` may not be used on the stable release
channel
- #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1))))
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1))
+ #:phases (modify-phases %standard-phases
+ ;; `#![feature]` may not be used on the stable release
channel
+ ;; Enable using nightly/dev features
+ (add-after 'unpack 'enable-unstable-features
+ (lambda _ (setenv "RUSTC_BOOTSTRAP" "1"))))))
(home-page "https://docs.rs/any_all_workaround/")
(synopsis "Workaround for bad LLVM codegen for boolean reductions on
32-bit ARM")
(description