microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.72k stars 4.55k forks source link

[Update Request]: Rustlang.Rust.MSVC #143004

Open danielniccoli opened 8 months ago

danielniccoli commented 8 months ago

What type of update are you requesting?

Something else not listed

Current Package Identifier

Rustlang.Rust.MSVC

Package Version

1.76.0

Please describe the changes you would like to see

Would it be possible to add rustfmt to that package? I installed Rustlang.Rust.MSVC and VSCode kept throwing

[Error - 1:29:25 PM] Request textDocument/formatting failed.
  Message: Failed to spawn "rustfmt" "--edition" "2021"
  Code: -32603 

After uninstalling Rustlang.Rust.MSVC and installing Rustlang.Rustup it worked. But since I use winget, I didn't want another tool to manage packages.

github-actions[bot] commented 8 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

SpecterShell commented 8 months ago

The MSI installer doesn't contain rustfmt.

The pre-built binaries are provided in the repo releases but they can't be executed for some reasons.

See https://github.com/rust-lang/rustfmt/issues/3075