-
Notifications
You must be signed in to change notification settings - Fork 13k
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
MSI installer is missing clippy and rustfmt #101993
Comments
Hmm, there's code for clippy in Lines 1617 to 1633 in ed37111
Rustfmt does appear to just be omitted altogether, that should be a simple fix. |
I see prepare("clippy");
for tool in &["rust-demangler", "rust-analyzer", "miri"] {
if built_tools.contains(tool) {
prepare(tool);
}
}
if target.ends_with("windows-gnu") {
prepare("rust-mingw");
} |
have a diff from 9d8
< clippy Checks a package to catch common mistakes and improve your Rust code.
15d13
< fmt Formats all bin and lib files of the current crate using rustfmt.
25d22
< miri
46a44
> seems |
Here’s a list of the files in the
|
@rustbot claim |
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#121560 (Allow `#[deny]` inside `#[forbid]` as a no-op) - rust-lang#131365 (Fix missing rustfmt in msi installer rust-lang#101993) - rust-lang#131647 (Register `src/tools/unicode-table-generator` as a runnable tool) - rust-lang#131843 (compiler: Error on layout of enums with invalid reprs) - rust-lang#131926 (Align boolean option descriptions in `configure.py`) - rust-lang#131961 (compiletest: tidy up how `tidy` and `tidy` (html version) are disambiguated) - rust-lang#131962 (Make `llvm::set_section` take a `&CStr`) - rust-lang#131964 (add latest crash tests) - rust-lang#131965 (remove outdated comment) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#131365 - heiseish:fix-issue-101993, r=Mark-Simulacrum Fix missing rustfmt in msi installer rust-lang#101993 # Context - Fixed missing `rustfmt`, `clippy`, `miri` and `rust-analyzer` in msi installer - Fixed missing `rustfmt` for apple darwin installer - Closes rust-lang#101993 r? `@jyn514` - Please let me know if I should request from someone else instead. I divided the changes into 3 separate commits for the ease of review. The refactoring commit `fbdfd5c03c3c979bcf105ccdd05ff4ab9f37a763` is a bit more involved, but I think it helps in the long term for readability and to avoid bugs. - I changed `build-manifest` to `build_manifest` in order to invoke it as a library. Not sure if this is gonna break any upstream processes. I checked `generate-manifest-list` and `generate-release` but didn't find any obvious reference - Will push fixes for linting later
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
andrustfmt
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 toclippy
andrustfmt
through it—and one can’t justcargo install
them, at least notclippy
, becausecargo install clippy
reports thatclippy
is no longer available viacrates.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.
The text was updated successfully, but these errors were encountered: