aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src/sysroot.rs
Commit message (Collapse)AuthorAgeFilesLines
* Require quotes around key-value cfg flags in rust-project.jsonAleksey Kladov2020-07-231-4/+3
| | | | This matches rustc command-line flags, as well as the build.rs format.
* Automatically reload project info on Cargo.toml changesAleksey Kladov2020-07-101-3/+3
|
* Replace ad hocery with scienceAleksey Kladov2020-07-071-1/+0
|
* Be more explicit about absolute paths at various placesAleksey Kladov2020-06-241-12/+11
|
* CleanupAleksey Kladov2020-05-081-38/+11
|
* Rename ra_env -> ra_toolchainAleksey Kladov2020-05-081-2/+2
|
* cargo fmtCraig Disselkoen2020-05-061-1/+5
|
* return a PathBuf instead of StringCraig Disselkoen2020-05-061-2/+3
|
* pull function out into new crate ra_env; use in ra_flycheck as wellCraig Disselkoen2020-05-061-2/+3
|
* more generic, find rustc as wellCraig Disselkoen2020-05-061-1/+3
|
* 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