Skip to content

windows: add a way to install rustfmt alongside MSI-based rust installation #3075

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
ikostia opened this issue Oct 3, 2018 · 5 comments · Fixed by #4280
Closed

windows: add a way to install rustfmt alongside MSI-based rust installation #3075

ikostia opened this issue Oct 3, 2018 · 5 comments · Fixed by #4280
Milestone

Comments

@ikostia
Copy link

ikostia commented Oct 3, 2018

For various reasons, I use MSI-based stable rust installer on Windows. For such an installation flavor, there seems to be no way to install rustfmt:

  • I can't use rustup, because it's MSI installation
  • I can't build it from source, because I use stable compiler

Can this be fixed or are there any workarounds?

@topecongiro
Copy link
Contributor

To fix this we could put pre-built binaries on the release page, but even then I am not sure if you could run those binaries without installing the nightly.

@topecongiro topecongiro added this to the 2.0.0 milestone Jun 7, 2020
@topecongiro
Copy link
Contributor

Starting from the 2.0 release, we will provide pre-built binaries for Windows/macOS/Linux.

@calebcartwright
Copy link
Member

@topecongiro - what are your thoughts on doing something like a tag-push based trigger in a GHA workflow that will create the pre-built binaries (presumably for all Tier 1 platforms) and create the GitHub Release with that tag and binaries as artifacts?

@topecongiro
Copy link
Contributor

@calebcartwright Yeah, adding some kind of automation as you described is what I have in mind.

@SpecterShell
Copy link

SpecterShell commented Mar 13, 2024

@topecongiro The pre-built binary was not statically built and requires a library file that does not match the one in the latest stable Rust MSI installer.

image

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants