On Thu, Mar 07, 2024 at 10:38:06PM +0100, Ludovic Courtès wrote: > Efraim Flashner skribis: > > > On Wed, Mar 06, 2024 at 07:10:54PM +0100, Ludovic Courtès wrote: > >> Efraim Flashner skribis: > >> > >> > + (properties `(`(append > >> > + ,(alist-delete 'hidden? (package-properties base-rust)) > >> > + ,@(clang-properties "15")))) > >> > >> Just realized that we cannot really call ‘clang-properties’ from here > >> because ‘properties’ is not a thunked field, so this would lead to a > >> top-level circular dependency… You might need to duplicate the info. > > > > We also use the list for zig. > > > > Considering we're only supporting one version for rust duplicating the > > information wouldn't be the worst thing but it'd be better to only have > > it declared in one spot. > > Then it should be declared in a module that’s not in a cycle with its > users (that’s annoying!). Maybe a separate ‘llvm-meta.scm’? How about moving it into (guix cpu) together with the ones from gcc? There are apparently some CPUs that are identical but have different names that we could map together and would allow us to make any changes to them in one place. We've already pretty much done that with the search paths. -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted