aboutsummaryrefslogtreecommitdiff
path: root/crates/project_model/src/sysroot.rs
Commit message (Collapse)AuthorAgeFilesLines
* Small file error display fixKirill Bulatov2021-05-241-1/+1
| | | Co-authored-by: Aleksey Kladov <[email protected]>
* Drag detached files towards loadingKirill Bulatov2021-05-231-1/+3
|
* Allow automatically detect the rustc-src directory (fixes #3517).Benjamin Bouvier2021-02-131-10/+30
| | | | | If the configured rustcSource is set to "discover", try to automatically detect a source from the sysroot rustc directory.
* prepare to publish el libro de arenaAleksey Kladov2021-01-141-1/+1
|
* Change recommendation when source can't be loaded from sysrootFlorian Diebold2020-12-131-1/+1
| | | | | | | | | Since we just tried running `rustup component add`, it doesn't make sense to me to recommend trying that again. If we're reaching this case, it's probably more likely that rustc was installed via package manager, in which case the source should be installed the same way (e.g. if you install the rust-src package on Ubuntu it will install a symlink in the right place to make our sysroot detection work).
* Remove needless allocAleksey Kladov2020-11-171-1/+1
|
* Ignore RUST_SRC_PATH if it is set to invalid valueAleksey Kladov2020-11-061-2/+6
| | | | | | Folks report a ton of hard-to-diagnose issues, the solution for which is "unset RUST_SRC_PATH". Let's just ignore RUST_SRC_PATH when it won't work anyway!
* Remove more unreachable pubsAleksey Kladov2020-11-021-1/+1
|
* remove FIXME after rust 1.47 comes outyuqing2020-10-301-6/+1
|
* Log around sysroot discoveryAleksey Kladov2020-10-141-0/+4
|
* Update crates/project_model/src/sysroot.rsJonas Schievink2020-10-091-1/+1
| | | Co-authored-by: LaurenČ›iu Nicola <[email protected]>
* Add note if RUST_SRC_PATH is likely to be wrongJonas Schievink2020-10-091-2/+8
|
* Report better errors in project.json/sysrootJonas Schievink2020-09-111-3/+10
|
* Prepare to share sysroot lowering code between Cargo & ProjectJSONAleksey Kladov2020-08-251-13/+7
|
* Prep work for overriding sysrootAleksey Kladov2020-08-251-53/+60
| | | | | The idea here is to make auto-discovery optional, and to allow to set the path to sysroot directly. This is handy for JSON projects.
* Rename ra_project_model -> project_modelPavan Kumar Sunkara2020-08-131-0/+173