summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-06 13:06:08 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-03-10 12:50:13 +0200
commit2f5d2c406eb927cf0c6113f5c690ad73eafce521 (patch)
tree3c401e96a353748c54cbe52d792ca1a01ae8a953
parentb1c7f6e1f555758e00ddf43a2bcdc065be8292f9 (diff)
gnu: rust: Add tuning information.
* gnu/packages/rust.scm (rust)[properties]: Add clang-properties matching the input llvm package. Change-Id: Ie2ef2387fff8aa639dcd73752bcaf3c26bbb376d
-rw-r--r--gnu/packages/rust.scm5
1 files changed, 4 insertions, 1 deletions
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