From 2f5d2c406eb927cf0c6113f5c690ad73eafce521 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 6 Mar 2024 13:06:08 +0200 Subject: [PATCH] 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