Repository navigation
MSI installer is missing clippy and rustfmt #101993
Description
I installed Rust 1.63.0 in Windows via the MSI installer. I enabled all optional features during the installation process. However, it seems that clippy and rustfmt are not available via the MSI installer. It seems that the MSI installer is oriented at development use and not just building existing Rust code from source for deployment (otherwise it wouldn’t include RLS, which is only useful for development), so there ought to be a way to get access to clippy and rustfmt through it—and one can’t just cargo install them, at least not clippy, because cargo install clippy reports that clippy is no longer available via crates.io.
Sorry if this is the wrong repo to report MSI installer issues; with 190 repos in the group, it can be hard to find the right one.
Activity
jyn514 commentedon Sep 18, 2022
Hmm, there's code for clippy in
dist.rs- not sure what's going wrong there, someone would need to investigate.rust/src/bootstrap/dist.rs
Lines 1617 to 1633 in ed37111
Rustfmt does appear to just be omitted altogether, that should be a simple fix.
chenyukang commentedon Sep 20, 2022
I see
rustfmtis not called withprepare, butclippyis there:chenyukang commentedon Sep 20, 2022
have a diff from
cargo --listbetweenrustupfrom installation and MSI installer:seems
mirialso missing.Hawk777 commentedon Sep 20, 2022
Here’s a list of the files in the
bin/subdirectory of my install directory, in case it’s relevant:cargo.exerls.exerustc_driver-17b2400b2defcd83.dllrustc_driver-17b2400b2defcd83.pdbrustc.exerustc_main-6addbff947989b19.pdbrustdoc.exerust-windbg.cmdstd-2e5a4fde2066d4f2.dllstd-2e5a4fde2066d4f2.pdbtest-2fc9b45aeebba85a.dlltest-2fc9b45aeebba85a.pdbheiseish commentedon Sep 27, 2024
@rustbot claim
Rollup merge of rust-lang#131365 - heiseish:fix-issue-101993, r=Mark-…
Auto merge of rust-lang#131970 - matthiaskrgr:rollup-nr32ksd, r=matth…
Unrolled build for rust-lang#131365