-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package request: rust-src #43716
Comments
The |
Yes, thats why I suggested it as a separate package
I'd prefer sticking to the distro-packaged variants if possible (rust-dbg and rust-doc were also accepted as separate packages) |
generally yes, but there is also the case of platforms which rustup doesn't support but void does |
i also personally only ever use the packaged rust toolchains for -src specifically, you only need to add |
Sounds reasonable, I can prepare a PR then |
let's just include it in the next rust update |
Pending addition in #44220 |
Installed and tested with rust-analyzer, which indeed seems to work out of the box now, thanks |
Package name
rust-src
Package homepage
https://github.com/rust-lang/rust
Description
It looks like the rust package is missing the std and core source files that would normally be required for language-servers to provide analysis (ie rust-analyzer).
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
andtools
settings in the rustconfig.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 therust
package due to the missing sources, setting up this package and adding it as an optional dependency torust-analyzer
should hopefully fix that.Does the requested package meet the package requirements?
Required
Is the requested package released?
Yes
The text was updated successfully, but these errors were encountered: