This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch rust-team
in repository guix.

The following commit(s) were added to refs/heads/rust-team by this push:
     new 299291d8bc gnu: rust: Install rust-src only once.
299291d8bc is described below

commit 299291d8bc90fa6f731855c00347240b60651e8f
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Tue Feb 24 16:31:10 2026 +0100

    gnu: rust: Install rust-src only once.
    
    * gnu/packages/rust.scm (rust)[arguments]<#:phases>{install}: Install 
rust-src
    only once.
    {build}: Explicitly request src/tools/llvm-bitcode-linker (no change).
    
    Closes: guix/guix#6671
    Change-Id: I9f64c2d115794126ad82aebb87ad192fcf94abd7
---
 gnu/packages/rust.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 420142aef6..577f0e5268 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -2063,6 +2063,7 @@ ge13ca993e8ccb9ba9847cc330696e02839f328f7/jemalloc"))
                            "library/std" ;rustc
                            "src/tools/cargo"
                            "src/tools/clippy"
+                           "src/tools/llvm-bitcode-linker"
                            "src/tools/rust-analyzer"
                            "src/tools/rustfmt"))))
              (replace 'check
@@ -2082,7 +2083,10 @@ ge13ca993e8ccb9ba9847cc330696e02839f328f7/jemalloc"))
              (replace 'install
                ;; Phase overridden to also install more tools.
                (lambda* (#:key outputs #:allow-other-keys)
-                 (invoke "./x.py" "install")
+                 ;; Install rustc, std, and llvm-bitcode-linker.
+                 ;; rust-src is handled separately in 'install-rust-src'.
+                 (invoke "./x.py" "install" "compiler/rustc" "library/std"
+                         "llvm-bitcode-linker")
                  (substitute* "config.toml"
                    ;; Adjust the prefix to the 'cargo' output.
                    (("prefix = \"[^\"]*\"")

Reply via email to