* [PR PATCH] rust: build rust-analyzer-proc-macro-srv
@ 2024-03-13 23:15 mtvrsh
2024-03-14 13:05 ` leahneukirchen
2024-03-15 16:07 ` [PR PATCH] [Merged]: " leahneukirchen
0 siblings, 2 replies; 3+ messages in thread
From: mtvrsh @ 2024-03-13 23:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]
There is a new pull request by mtvrsh against master on the void-packages repository
https://github.com/mtvrsh/void-packages rust-proc-macro-srv
https://github.com/void-linux/void-packages/pull/49282
rust: build rust-analyzer-proc-macro-srv
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
Without it rust-analyzer doesn't expand macros.
A patch file from https://github.com/void-linux/void-packages/pull/49282.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rust-proc-macro-srv-49282.patch --]
[-- Type: text/x-diff, Size: 1020 bytes --]
From dccc61839c0805ff11cbfc57cbf1805f635865a6 Mon Sep 17 00:00:00 2001
From: mtvrs <mtvrs@tuta.io>
Date: Wed, 13 Mar 2024 23:29:20 +0100
Subject: [PATCH] rust: build rust-analyzer-proc-macro-srv
---
srcpkgs/rust/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/rust/template b/srcpkgs/rust/template
index 2ce75af7b3a9cb..b93271e97ded86 100644
--- a/srcpkgs/rust/template
+++ b/srcpkgs/rust/template
@@ -9,7 +9,7 @@
#
pkgname=rust
version=1.76.0
-revision=1
+revision=2
hostmakedepends="curl pkg-config python3 tar cargo-bootstrap"
makedepends="libffi-devel ncurses-devel libxml2-devel zlib-devel llvm17-devel"
depends="rust-std gcc"
@@ -128,7 +128,7 @@ do_configure() {
--release-description="Void Linux" \
--llvm-libunwind=no \
--llvm-config=/usr/bin/llvm-config \
- --tools=clippy,rustdoc,rustfmt \
+ --tools=clippy,rustdoc,rustfmt,rust-analyzer-proc-macro-srv \
--set="rust.optimize=true" \
--set="rust.debug=false" \
--set="rust.codegen-units=1" \
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rust: build rust-analyzer-proc-macro-srv
2024-03-13 23:15 [PR PATCH] rust: build rust-analyzer-proc-macro-srv mtvrsh
@ 2024-03-14 13:05 ` leahneukirchen
2024-03-15 16:07 ` [PR PATCH] [Merged]: " leahneukirchen
1 sibling, 0 replies; 3+ messages in thread
From: leahneukirchen @ 2024-03-14 13:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
New comment by leahneukirchen on void-packages repository
https://github.com/void-linux/void-packages/pull/49282#issuecomment-1997417864
Comment:
Funny, I hit this issue yesterday. :D
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: rust: build rust-analyzer-proc-macro-srv
2024-03-13 23:15 [PR PATCH] rust: build rust-analyzer-proc-macro-srv mtvrsh
2024-03-14 13:05 ` leahneukirchen
@ 2024-03-15 16:07 ` leahneukirchen
1 sibling, 0 replies; 3+ messages in thread
From: leahneukirchen @ 2024-03-15 16:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]
There's a merged pull request on the void-packages repository
rust: build rust-analyzer-proc-macro-srv
https://github.com/void-linux/void-packages/pull/49282
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
Without it rust-analyzer doesn't expand macros.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-15 16:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-13 23:15 [PR PATCH] rust: build rust-analyzer-proc-macro-srv mtvrsh
2024-03-14 13:05 ` leahneukirchen
2024-03-15 16:07 ` [PR PATCH] [Merged]: " leahneukirchen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).