GNU bug report logs - #74551
[PATCH 00/49] Add starship shell utility

Previous Next

Package: guix-patches;

Reported by: Jordan Moore <lockbox <at> struct.foo>

Date: Tue, 26 Nov 2024 21:36:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Aaron Covrig <aaron.covrig.us <at> ieee.org>
To: 74551 <at> debbugs.gnu.org
Cc: Aaron Covrig <aaron.covrig.us <at> ieee.org>
Subject: [bug#74551] [PATCH rust-team v3 03/73] gnu: rust-any-all-workaround: enable building
Date: Mon,  2 Dec 2024 21:59:43 -0500
* gnu/packages/crates-io.scm (rust-any-all-workaround-0.1): Enable building
---
 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 769505a87c..cf43722a35 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2312,8 +2312,12 @@ (define-public rust-any-all-workaround-0.1
         (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") #t)))))
     (home-page "https://docs.rs/any_all_workaround/")
     (synopsis "Workaround for bad LLVM codegen for boolean reductions on 32-bit ARM")
     (description
-- 
2.47.0





This bug report was last modified 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.