Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Pass --all-targets to "cargo check" | Kaelin Laundry | 2020-12-29 | 1 | -0/+5 | |
| | | ||||||
* | | add working dir to cargo metadata fail messages | lf- | 2020-12-31 | 1 | -1/+17 | |
|/ | ||||||
* | Fun times with rustfmt | Jon Gjengset | 2020-12-17 | 1 | -2/+1 | |
| | ||||||
* | Update crates/project_model/src/cargo_workspace.rs | Jon Gjengset | 2020-12-17 | 1 | -1/+1 | |
| | | | Co-authored-by: Aleksey Kladov <[email protected]> | |||||
* | Default to host platform for cargo metadata | Jon Gjengset | 2020-12-17 | 1 | -2/+30 | |
| | | | | | | | | | This modifies the logic for calling cargo metadata so that it will use the host platform if no explicit target platform is given. This is needed since cargo metadata defaults to outputting information for _all_ targets. Fixes #6908. | |||||
* | Change recommendation when source can't be loaded from sysroot | Florian Diebold | 2020-12-13 | 1 | -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 some redundant allocations | Jeremy Kolb | 2020-12-12 | 1 | -1/+1 | |
| | ||||||
* | Use itertools | Jonas Schievink | 2020-12-10 | 1 | -3/+3 | |
| | ||||||
* | Replicate Cargo environment variables | Jonas Schievink | 2020-12-10 | 1 | -0/+39 | |
| | ||||||
* | Apply environment set by build scripts | Jonas Schievink | 2020-12-07 | 2 | -2/+20 | |
| | ||||||
* | Pass `--target` when loading out dirs from check | Jonas Schievink | 2020-12-07 | 1 | -0/+5 | |
| | ||||||
* | Remove dummy ProcMacroClient in favor of Option | Jonas Schievink | 2020-12-07 | 1 | -17/+22 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-11-17 | 1 | -54/+50 | |
| | ||||||
* | Make code more readable | Aleksey Kladov | 2020-11-17 | 1 | -186/+207 | |
| | ||||||
* | Minor | Aleksey Kladov | 2020-11-17 | 1 | -4/+4 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-11-17 | 1 | -16/+10 | |
| | ||||||
* | Remove needless alloc | Aleksey Kladov | 2020-11-17 | 1 | -1/+1 | |
| | ||||||
* | Compress code | Aleksey Kladov | 2020-11-17 | 1 | -64/+24 | |
| | ||||||
* | simplify | Aleksey Kladov | 2020-11-17 | 1 | -41/+32 | |
| | ||||||
* | Remove dead code | Aleksey Kladov | 2020-11-13 | 1 | -15/+0 | |
| | ||||||
* | Cleanup workspace loading a tiny bit | Aleksey Kladov | 2020-11-13 | 2 | -26/+28 | |
| | ||||||
* | Move tricky workspace logic to a separate module | Aleksey Kladov | 2020-11-13 | 2 | -602/+611 | |
| | ||||||
* | Address review comments | Xavier Denis | 2020-11-12 | 1 | -3/+2 | |
| | ||||||
* | Reorder rustc_private loading | Xavier Denis | 2020-11-11 | 1 | -87/+86 | |
| | ||||||
* | Add support for loading rustc private crates | Xavier Denis | 2020-11-11 | 2 | -67/+209 | |
| | ||||||
* | Ignore RUST_SRC_PATH if it is set to invalid value | Aleksey Kladov | 2020-11-06 | 1 | -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 pubs | Aleksey Kladov | 2020-11-02 | 2 | -3/+3 | |
| | ||||||
* | remove FIXME after rust 1.47 comes out | yuqing | 2020-10-30 | 1 | -6/+1 | |
| | ||||||
* | Support Display name in project.json | Aleksey Kladov | 2020-10-20 | 2 | -3/+7 | |
| | ||||||
* | More type safety around names | Aleksey Kladov | 2020-10-20 | 1 | -3/+5 | |
| | ||||||
* | Add a hacky remidy for #6038 | Aleksey Kladov | 2020-10-20 | 1 | -0/+5 | |
| | | | | | | | The proper fix I think is: * move rust-lang/rust library crates to a separate workspace * when packaging rust-src component, vendor sources of external deps | |||||
* | Log around sysroot discovery | Aleksey Kladov | 2020-10-14 | 1 | -0/+4 | |
| | ||||||
* | Update crates/project_model/src/sysroot.rs | Jonas Schievink | 2020-10-09 | 1 | -1/+1 | |
| | | | Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
* | Add note if RUST_SRC_PATH is likely to be wrong | Jonas Schievink | 2020-10-09 | 1 | -2/+8 | |
| | ||||||
* | Fix the hover dash issues | Kirill Bulatov | 2020-10-02 | 1 | -2/+3 | |
| | ||||||
* | Merge #6018 | bors[bot] | 2020-09-20 | 1 | -7/+14 | |
|\ | | | | | | | | | | | | | | | 6018: Correct project_root path for ProjectJson. r=jonas-schievink a=woody77 It was already the folder containing the rust-project.json file, not the file itself. This also removes the Option-ness of it, since it's now an infallible operation to set the member value. Co-authored-by: Aaron Wood <[email protected]> | |||||
| * | Add rustdoc for ProjectJson methods | Aaron Wood | 2020-09-20 | 1 | -0/+10 | |
| | | ||||||
| * | Correct project_root path for ProjectJson. | Aaron Wood | 2020-09-16 | 1 | -7/+4 | |
| | | | | | | | | It was already the folder containing the rust-project.json file, not the file itself. | |||||
* | | Log failure to load crate root file | Jonas Schievink | 2020-09-18 | 1 | -1/+7 | |
|/ | ||||||
* | Add support for custom flycheck commands with JSON project workspaces | Aaron Wood | 2020-09-16 | 1 | -0/+8 | |
| | | | | | Enable flychecks with JSON project workspaces if an override command was provided as part of the client configuration. | |||||
* | Report better errors in project.json/sysroot | Jonas Schievink | 2020-09-11 | 3 | -16/+35 | |
| | ||||||
* | Add sysroot shortcut to rust-project.json | Aleksey Kladov | 2020-08-25 | 2 | -19/+57 | |
| | ||||||
* | Don't expose indexing details | Aleksey Kladov | 2020-08-25 | 2 | -24/+20 | |
| | ||||||
* | Prepare to share sysroot lowering code between Cargo & ProjectJSON | Aleksey Kladov | 2020-08-25 | 2 | -105/+73 | |
| | ||||||
* | Prep work for overriding sysroot | Aleksey Kladov | 2020-08-25 | 2 | -54/+61 | |
| | | | | | 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. | |||||
* | Improve logging | Aleksey Kladov | 2020-08-25 | 1 | -1/+15 | |
| | ||||||
* | Better error if Cargo is not in Path | Aleksey Kladov | 2020-08-19 | 1 | -2/+9 | |
| | ||||||
* | Rename ra_db -> base_db | Aleksey Kladov | 2020-08-13 | 3 | -3/+3 | |
| | ||||||
* | Rename ra_proc_macro -> proc_macro_api | Aleksey Kladov | 2020-08-13 | 1 | -1/+1 | |
| | ||||||
* | Rename ra_project_model -> project_model | Pavan Kumar Sunkara | 2020-08-13 | 5 | -0/+1273 | |