efraim pushed a commit to branch rust-team
in repository guix.
commit c6bc41ebeb7f6c97d4037c6011b652c55b65167f
Author: Efraim Flashner <[email protected]>
AuthorDate: Sat Dec 14 20:23:43 2024 +0200
gnu: rust-bootstrap: Don't use parallel-build.
* gnu/packages/rust.scm (rust-bootstrap)[arguments]: Change
parallel-build? to be false on all architectures.
Change-Id: I36aa984f9d47e01d35270423dbf44d57182854f0
---
gnu/packages/rust.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 1be020a6bf..7d8d188b4a 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -207,10 +207,9 @@
;; Rust's own .so library files are not found in any RUNPATH, but
;; that doesn't seem to cause issues.
#:validate-runpath? #f
- ;; Most of the build is single-threaded. This also improves the
- ;; build time on machines with "only" 8GB of RAM.
- ;; ppc64le regularly sees race conditions between various dependant
crates.
- #:parallel-build? ,(target-x86-64?)
+ ;; We currently see race conditions between various dependant crates.
+ ;; TODO: Re-evaluate after moving to a more recent mrustc.
+ #:parallel-build? #f
#:make-flags
(list ,(string-append "RUSTC_TARGET="
(platform-rust-target