From: Zapeth <Zapeth@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] Package request: rust-src
Date: Fri, 16 Jun 2023 23:14:28 +0200 [thread overview]
Message-ID: <20230616211428.a6Y_mbCZrDzGoXNG7qhPfH2y2XOUdo4P1q1XveKGpJ0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43716@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1594 bytes --]
Closed issue by Zapeth on void-packages repository
https://github.com/void-linux/void-packages/issues/43716
Description:
### Package name
rust-src
### Package homepage
https://github.com/rust-lang/rust
### Description
It looks like the [rust](https://github.com/void-linux/void-packages/blob/master/srcpkgs/rust/template) package is missing the std and core source files that would normally be required for language-servers to provide analysis (ie [rust-analyzer](https://github.com/void-linux/void-packages/blob/master/srcpkgs/rust-analyzer/template)).
I'm not sure what configuration steps would be necessary to provide the source files as a separate package, it seems it might be possible to include them in the build with the [`extended`](https://github.com/rust-lang/rust/blob/98c33e47a495fbd7b22bce9ce32f2815991bc414/config.example.toml#L293) and [`tools`](https://github.com/rust-lang/rust/blob/98c33e47a495fbd7b22bce9ce32f2815991bc414/config.example.toml#L303-L312) settings in the rust `config.toml`.
Alpine also provides the source files as a separate package (https://pkgs.alpinelinux.org/package/edge/community/x86_64/rust-src), but I don't know how much can be gleaned from their template, if anything.
Sidenote: `rust-analyzer` currently doesn't work out of the box with the `rust` package due to the missing sources, setting up this package and adding it as an optional dependency to `rust-analyzer` should hopefully fix that.
### Does the requested package meet the package requirements?
Required
### Is the requested package released?
Yes
prev parent reply other threads:[~2023-06-16 21:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-02 15:50 [ISSUE] Package request: Zapeth
2023-05-03 11:16 ` Package request: rust-src tranzystorek-io
2023-05-03 12:54 ` Zapeth
2023-05-03 17:51 ` classabbyamp
2023-05-04 8:11 ` nekopsykose
2023-05-04 19:33 ` tranzystorek-io
2023-05-04 19:45 ` classabbyamp
2023-06-06 11:15 ` tranzystorek-io
2023-06-16 21:14 ` Zapeth
2023-06-16 21:14 ` Zapeth [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230616211428.a6Y_mbCZrDzGoXNG7qhPfH2y2XOUdo4P1q1XveKGpJ0@z \
--to=zapeth@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).