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

1.0.61 causes rebuilds after restarting VScode with rust-analyzer #261

Closed
neocturne opened this issue Aug 16, 2022 · 3 comments
Closed

1.0.61 causes rebuilds after restarting VScode with rust-analyzer #261

neocturne opened this issue Aug 16, 2022 · 3 comments

Comments

@neocturne
Copy link

Since updating one of my projects to anyhow 1.0.61

  • rust-analyzer rechecks anyhow and everything that depends on it on each start of VScode
  • Running rust build etc. in a terminal rebuilds anyhow and everything that depends on it after rust-analyzer rechecked it

For larger projects with anyhow deep in their dependency chain, these frequent rebuilds can get quite annoying.

@dtolnay
Copy link
Owner

dtolnay commented Aug 16, 2022

Thanks for the report. This was put in as a workaround for the builds just altogether failing (rust-lang/rust-analyzer#12973). There is a fix in https://rust-analyzer.github.io/thisweek/2022/08/15/changelog-142.html#fixes so we can just remove it and count on people to upgrade rust-analyzer.

@dtolnay
Copy link
Owner

dtolnay commented Aug 16, 2022

Could you confirm whether this is gone with 1.0.62?

@neocturne
Copy link
Author

Yes, working fine now, thanks!

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

No branches or pull requests

2 participants