mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
f6fc109fcb
Allow sysroots to only consist of the source root dir Fixes https://github.com/rust-lang/rust-analyzer/issues/17159 This PR encodes the `None` case of an optional sysroot into `Sysroot` itself. This simplifies a lot of things and allows us to have sysroots that consist of nothing, only standard library sources, everything but the standard library sources or everything. This makes things a lot more flexible. Additionally, this removes the workspace status bar info again, as it turns out that that can be too much information for the status bar to handle (this is better rendered somewhere else, like in the status view). |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |