efraim pushed a commit to branch rust-team
in repository guix.
commit a21bbfb712c0b82b76d6099b454c2a1db8dd9924
Author: Efraim Flashner <[email protected]>
AuthorDate: Sun Feb 23 08:41:33 2025 +0200
gnu: rust: Don't wrap rust-analyzer with proc-macro-srv.
This is apparently not the correct action.
* gnu/packages/rust.scm (rust)[arguments]: Adjust the custom
'wrap-rust-analyzer phase to not wrap rust-analyzer with
rust-analyzer-proc-macro-srv.
Change-Id: I71e284f209a87b4c23c0657b564ab10de05e0937
---
gnu/packages/rust.scm | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index ce0f549f03..ccf28c63f8 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1470,12 +1470,10 @@ safety and thread safety guarantees.")
(lambda (port)
(format port "#!~a
if test -z \"${RUST_SRC_PATH}\";then export RUST_SRC_PATH=~S;fi;
-exec -a \"$0\" \"~a\" --proc-macro-srv \"~a\" \"$@\""
+exec -a \"$0\" \"~a\" \"$@\""
(which "bash")
(string-append (assoc-ref outputs "rust-src")
"/lib/rustlib/src/rust/library")
- (string-append (assoc-ref outputs "out")
-
"/libexec/rust-analyzer-proc-macro-srv")
(string-append bin "/.rust-analyzer-real"))))
(chmod (string-append bin "/rust-analyzer") #o755))))))))
(inputs