aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src/sysroot.rs
Commit message (Collapse)AuthorAgeFilesLines
* Simplify Arena to use a generic indexAleksey Kladov2020-03-191-5/+3
|
* Simplify SysrootAleksey Kladov2020-03-191-17/+15
|
* ra_project_model: migrate to Sysroot::alloc()Veetaha2020-02-291-1/+1
|
* Simplify the command executionKirill Bulatov2020-02-171-34/+28
|
* Simplify the code furtherKirill Bulatov2020-02-171-45/+35
|
* Idempotent location and installation of rust srcKirill Bulatov2020-02-171-47/+56
|
* Install rust-src when it is not foundKirill Bulatov2020-02-171-8/+31
|
* Add error context to failures in `ra_project_model` using `anyhow` crate (#3119)Adam Bratschi-Kaye2020-02-131-5/+9
| | | Add error context to failures in ra_project_model using anyhow crate
* More specific error if `rustc --print sysroot` failsAleksey Kladov2020-02-101-1/+2
|
* Better error messageAleksey Kladov2020-01-091-2/+3
| | | | closes #2775
* Merge #2381bors[bot]2019-11-241-1/+5
|\ | | | | | | | | | | | | | | | | 2381: Add proc-macro crate type handling r=JasperDeSutter a=JasperDeSutter Resolves the libproc_macro crate in crates that are the proc-macro type. This doesn't seem the ideal implementation though, since the compiler still requires you to write `extern crate proc_macro;` (even in 2018 edition). Co-authored-by: JasperDeSutter <[email protected]>
| * add proc-macro crate type handlingJasperDeSutter2019-11-241-1/+5
| |
* | Add alloc to the sysrootMarco Groppo2019-11-241-0/+4
|/
* Resolve core typesMatthias Einwag2019-11-091-0/+4
| | | | | | | | | | | | | | | This adds support for completion and goto definition of types defined within the "core" crate. The core crate is added as a dependency to each crate in the project. The core crate exported it's own prelude. This caused now all crates to inherit the core crates prelude instead of the std crates. In order to avoid the problem the prelude resolution has been changed to overwrite an already resolved prelude if this was set to a crate named core - in order to pick a better prelude like std. Fixes #2199
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* Make sysroot use `RUST_SRC_PATH` if setBastian Köcher2019-08-221-11/+21
|
* don't load sysroot in most heavy testsAleksey Kladov2019-08-191-1/+1
|
* cleanupAleksey Kladov2019-08-061-1/+1
|
* Some clippy fixes for 1.36Jeremy Kolb2019-07-041-1/+1
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-1/+1
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* Merge #1404bors[bot]2019-06-151-3/+3
|\ | | | | | | | | | | | | | | | | | | 1404: Fight down failures! r=matklad a=mominul issue #1400 Now only `ra_tools` crate depends on `failure`, should I also fight those? :grin: Co-authored-by: Muhammad Mominul Huque <[email protected]>
| * Get rid of failure: ra_lsp_server & ra_project_modelMuhammad Mominul Huque2019-06-141-3/+3
| |
* | Add alloc -> core dependencyFlorian Diebold2019-06-131-0/+5
|/
* Remove SmolStr from project modelFlorian Diebold2019-02-091-4/+2
|
* Extract project model to separate crateFlorian Diebold2019-02-091-0/+138