Skip to content

Rust offline windows installer missing clippy, source and rustfmt #3755

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

Closed
2 tasks done
Matthew-Jenkins opened this issue Apr 4, 2024 · 2 comments
Closed
2 tasks done
Labels

Comments

@Matthew-Jenkins
Copy link

Verification

Problem

I work for a large enterprise so online installers won't work for me. I download the windows offline installer but it is missing cargo-clippy, rustfmt and the source. rust-analyzer can not process macros without the source.

Steps

  1. Go to https://forge.rust-lang.org/infra/other-installation-methods.html#standalone and download any of the windows offline installers.
  2. After installing check C:\Program Files\Rust???\ . bin will be missing cargo-clippy and rustfmt. lib/rustup/ will be missing src
  3. rust-analyzer will give constant errors due to not being able to process macros. You won't be able to run the clippy linter, you won't be able to auto format to minimize diffs.

Possible Solution(s)

Add missing parts to windows offline installers.

Notes

No response

Rustup version

1.75 and 1.77 have been tested

Installed toolchains

x86_64-pc-windows-msvc

OS version

Windows 10
@ChrisDenton
Copy link
Member

This repository only deals with rustup, If you're not using rustup then it should be reported to the main rust-lang/rust repository.

@Matthew-Jenkins
Copy link
Author

copied to rust-lang/rust#123463

@djc djc reopened this Apr 4, 2024
@djc djc closed this as not planned Won't fix, can't repro, duplicate, stale Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants