Skip to content
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

After fresh install, fmt doesn't work properly #1396

Closed
binary132 opened this issue Apr 16, 2018 · 1 comment
Closed

After fresh install, fmt doesn't work properly #1396

binary132 opened this issue Apr 16, 2018 · 1 comment

Comments

@binary132
Copy link

Ubuntu 18.04 / x64

I nuked my .cargo path and reinstalled via rustup.rs. I was then not able to use rustfmt, nor add it to my toolchains by full name (rustfmt-preview-x86_64-unknown-linux-gnu). cargo fmt complained about an outdated rustfmt version.

On rustup update, I got a warning that rustfmt and cargo-fmt were in my .cargo/bin path and should be removed, so I manually removed those binaries with rm. After this, rustup update did not add the binaries as I expected.

I was able to add the toolchains by name without the full path (rustfmt-preview) and it didn't work after that until I performed rustup update, at which point the binaries were linked into the cargo bin path.

@Diggsey Diggsey added this to Documentation & CLI in Issue Categorisation May 27, 2018
@Diggsey Diggsey moved this from Documentation & CLI to Self installation, upgrade & uninstallation in Issue Categorisation May 27, 2018
@kinnison
Copy link
Contributor

I believe we do a better job of handling the recreation of proxies, and with profiles we install the formatters by default. As such, I'm closing this, but if you have similar issues still then I'd appreciate a fresh issue describing what you do and what you'd like to see happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Issue Categorisation
Self installation, upgrade & unin...
Development

No branches or pull requests

2 participants