On Wed, Mar 06, 2024 at 07:09:32PM +0100, Ludovic Courtès wrote: > Efraim Flashner skribis: > > > * gnu/packages/rust.scm (rust)[properties]: Add clang-properties > > matching the input llvm package. > > > > Change-Id: Ie2ef2387fff8aa639dcd73752bcaf3c26bbb376d > > Hmm rustc actually uses LLVM for code generation? I’m a bit lost. > Anyway, if it supports those same flags as Clang, all good; maybe add a > comment to say so explicitly. It supports the same target_cpu targets as clang does. With llvm switching to a monorepo they've apparently done a better job about syncing the list between llvm and clang. > > + (properties `(`(append > > + ,(alist-delete 'hidden? (package-properties base-rust)) > > + ,@(clang-properties "15")))) > > I think you meant: > > (properties (append (alist-delete 'hidden? (package-properties base-rust)) > (clang-properties "15"))) I would love to have it cleaner like this. There was a lot of trial and error to end up with what I had above. I'll try that. -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted