guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

130/142: gnu: mozjs-78: Disable rust-simd to workaround a build failure.


From: guix-commits
Subject: 130/142: gnu: mozjs-78: Disable rust-simd to workaround a build failure.
Date: Mon, 10 Jan 2022 13:07:45 -0500 (EST)

apteryx pushed a commit to branch version-1.4.0
in repository guix.

commit cdb2b115a874a7ab0be85963dd1f3005cbd53da0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Dec 31 13:59:44 2021 -0500

    gnu: mozjs-78: Disable rust-simd to workaround a build failure.
    
    * gnu/packages/gnuzilla.scm (mozjs-78)
    [configure-flags]: Disable rust-simd to avoid a build failure that occurs 
when
    Rust is newer than 1.54.0.
---
 gnu/packages/gnuzilla.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 59b526bb73..158213dd98 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -463,7 +463,10 @@ in C/C++.")
          "--enable-hardening"
          "--enable-optimize"
          "--enable-release"
-         "--enable-rust-simd"
+         ;; FIXME: rust-simd is disabled otherwise the build fails with
+         ;; "error: `[u32; 64]` is forbidden as the type of a const generic
+         ;; parameter".
+         "--disable-rust-simd"
          "--enable-readline"
          "--enable-shared-js"
          "--with-system-icu"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]