guix-commits
[Top][All Lists]
Advanced

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

04/07: gnu: rust: Add tuning information.


From: guix-commits
Subject: 04/07: gnu: rust: Add tuning information.
Date: Sun, 10 Mar 2024 06:51:46 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 2f5d2c406eb927cf0c6113f5c690ad73eafce521
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 6 13:06:08 2024 +0200

    gnu: rust: Add tuning information.
    
    * gnu/packages/rust.scm (rust)[properties]: Add clang-properties
    matching the input llvm package.
    
    Change-Id: Ie2ef2387fff8aa639dcd73752bcaf3c26bbb376d
---
 gnu/packages/rust.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 1f129a93bd..3e3bb4dd00 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -49,6 +49,7 @@
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
+  #:use-module (gnu packages llvm-meta)
   #:use-module (gnu packages mingw)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
@@ -964,7 +965,9 @@ safety and thread safety guarantees.")
   (let ((base-rust rust-1.75))
     (package
       (inherit base-rust)
-      (properties (alist-delete 'hidden? (package-properties base-rust)))
+      (properties (append
+                    (alist-delete 'hidden? (package-properties base-rust))
+                    (clang-compiler-cpu-architectures "15")))
       (outputs (cons* "rust-src" "tools" (package-outputs base-rust)))
       (source
        (origin



reply via email to

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