commit | 670a5ab4a9e4fc7fca7581a123e47420dde4e271 | [log] [tgz] |
---|---|---|
author | bors <bors@rust-lang.org> | Fri Aug 02 06:50:43 2024 +0000 |
committer | bors <bors@rust-lang.org> | Fri Aug 02 06:50:43 2024 +0000 |
tree | 5d8d417555f333f8c4697c0f0d7a04b0e6a4dc02 | |
parent | f149dc5029d8406fae8b2c541603bcac06e30deb [diff] | |
parent | 77e6999536a1b9a5e69d4dac9b3913d9548da091 [diff] |
Auto merge of #17705 - huntc:resolve-ra, r=Veykril feat: Use oldest rustup rust-analyzer when toolchain override is present Selects a rust-toolchain declared RA based on its date. The earliest (oldest) RA wins and becomes the one that the workspace uses as a whole. In terms of precedence: nightly > stable-with-version > stable With stable-with-version, we invoke the RA with a `--version` arg and attempt to extract a date. Given the same date as a nightly, the nightly RA will win. Fixes #17663
rust-analyzer is a modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust.
https://rust-analyzer.github.io/manual.html#installation
If you want to contribute to rust-analyzer check out the CONTRIBUTING.md or if you are just curious about how things work under the hood, check the ./docs/dev folder.
If you want to use rust-analyzer's language server with your editor of choice, check the manual folder. It also contains some tips & tricks to help you be more productive when using rust-analyzer.
See the corresponding sections of the manual.
For usage and troubleshooting requests, please use “IDEs and Editors” category of the Rust forum:
https://users.rust-lang.org/c/ide/14
For questions about development and implementation, join rust-analyzer working group on Zulip:
https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer
rust-analyzer is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.