Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor clippy perf fixes | Laurențiu Nicola | 2021-06-18 | 1 | -1/+1 |
| | |||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 4 | -10/+10 |
| | |||||
* | clippy::redundant_clone fixes | Laurențiu Nicola | 2021-05-26 | 2 | -8/+5 |
| | |||||
* | Duplicate dependencies that have multiple DepKinds | Jonas Schievink | 2021-05-24 | 1 | -15/+21 |
| | |||||
* | Add a FIXME | Kirill Bulatov | 2021-05-24 | 1 | -0/+9 |
| | |||||
* | Small file error display fix | Kirill Bulatov | 2021-05-24 | 1 | -1/+1 |
| | | | Co-authored-by: Aleksey Kladov <[email protected]> | ||||
* | Deal with todos | Kirill Bulatov | 2021-05-23 | 1 | -4/+14 |
| | |||||
* | Drag detached files towards loading | Kirill Bulatov | 2021-05-23 | 3 | -6/+72 |
| | |||||
* | Draft detached files retrieval | Kirill Bulatov | 2021-05-23 | 2 | -0/+4 |
| | |||||
* | Add more docs | Aleksey Kladov | 2021-05-22 | 3 | -6/+25 |
| | |||||
* | Use package root as `cargo check` working directory | Brendan Cully | 2021-05-13 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | Cargo commands are affected by the `.cargo/config` files above their working directory. If cargo is invoked from above the directory holding `Cargo.toml`, it may not pick up important settings like registry replacements, causing it to behave differently or even fail. Most cargo invocations are currently setting their working directories to the directory containing `Cargo.toml`, but a couple of paths remain in which cargo is invoked from the default workspace root instead. This change fixes that, resolving some cargo check failures that I experienced in a multi-root workspace in which packages used different registries. | ||||
* | Fix build script dependencies | Jonas Schievink | 2021-05-12 | 2 | -12/+56 |
| | |||||
* | Use Cargo target name as crate name | Jonas Schievink | 2021-05-11 | 1 | -1/+4 |
| | |||||
* | Use RUSTC_BOOTSTRAP=1 instead of +nightly when discovering rust_cfgs ↵ | Lukas Wirth | 2021-05-08 | 2 | -40/+35 |
| | | | | throughs cargo | ||||
* | Discover rustc_cfg through unstable cargo options | Lukas Wirth | 2021-05-08 | 3 | -33/+83 |
| | |||||
* | internal: use API stabilized in 1.52 | Aleksey Kladov | 2021-05-06 | 1 | -2/+1 |
| | |||||
* | fix: make error message in the status bar more useful | Aleksey Kladov | 2021-04-26 | 1 | -1/+1 |
| | | | | | | | At the moment,the popup is just a bazillion of Cargo's "Compiling this\nCompiling that", which is not that useful. --quiet still displays error, which is what we needc | ||||
* | fix: no longer get stuck on windows | Aleksey Kladov | 2021-04-20 | 1 | -58/+76 |
| | | | | | | | reading both stdout & stderr is a common gotcha, you need to drain them concurrently to avoid deadlocks. Not sure why I didn't do the right thing from the start. Seems like I assumed the stderr is short? That's not the case when cargo spams `compiling xyz` messages | ||||
* | feat: avoid checking the whole project during initial loading | Aleksey Kladov | 2021-04-12 | 1 | -107/+129 |
| | |||||
* | feat: show errors from `cargo metadata` and initial `cargo check` in the ↵ | Aleksey Kladov | 2021-04-06 | 1 | -2/+25 |
| | | | | | | status bar closes #3155 | ||||
* | Clearer naming | Aleksey Kladov | 2021-04-06 | 2 | -29/+40 |
| | |||||
* | internal: do not drop errors from cargo metadata/check | Aleksey Kladov | 2021-04-06 | 1 | -1/+1 |
| | | | | Work towards #3155 | ||||
* | clippy::complexity simplifications related to Iterators | Matthias Krüger | 2021-03-21 | 1 | -49/+42 |
| | |||||
* | some clippy::performance fixes | Matthias Krüger | 2021-03-15 | 1 | -1/+1 |
| | | | | | | | use vec![] instead of Vec::new() + push() avoid redundant clones use chars instead of &str for single char patterns in ends_with() and starts_with() allocate some Vecs with capacity to avoid unneccessary resizing | ||||
* | Never run cargo check on the rustc source | Daniel McNab | 2021-03-08 | 1 | -4/+1 |
| | |||||
* | Only show directory name | Daniel McNab | 2021-03-08 | 1 | -1/+1 |
| | |||||
* | Revert "Support disabling rustc build scripts" | Daniel McNab | 2021-03-08 | 1 | -10/+3 |
| | | | | This reverts commit ddce6bb282764692d53b719bff4c37e3512d4556. | ||||
* | Support disabling rustc build scripts | Daniel McNab | 2021-03-08 | 1 | -3/+11 |
| | |||||
* | Fix the comment | Daniel McNab | 2021-03-07 | 1 | -4/+4 |
| | | | | It's worse than I thought... | ||||
* | Extract the large nested block into a function | Daniel McNab | 2021-03-07 | 1 | -72/+98 |
| | | | | | Also add some more detailed comments Extract into function deleted the previous comments | ||||
* | Require opt in to rustc_private | Daniel McNab | 2021-03-07 | 2 | -70/+70 |
| | | | | | | This gives the advantage that A future extension would be to check for `feature(rustc_private)` instead | ||||
* | Don't double analyse the same crate | Daniel McNab | 2021-03-07 | 1 | -1/+6 |
| | |||||
* | Update crate graph to only use subcrates of rustc_driver | Daniel McNab | 2021-03-07 | 1 | -38/+38 |
| | |||||
* | If a manual dependency exists, don't overwrite | Daniel McNab | 2021-03-06 | 1 | -1/+8 |
| | | | | | | | | This is a hack to work around miri being included in our analysis of rustc-dev Really, we should probably use an include set of the actual root libraries I'm not sure how those are determined however | ||||
* | Implement opt-in (and opt-out) rustc_private | Daniel McNab | 2021-03-06 | 2 | -3/+26 |
| | |||||
* | Bump cargo_metadata | Laurențiu Nicola | 2021-03-02 | 2 | -16/+16 |
| | |||||
* | Fix a few clippy::perf warnings | kjeremy | 2021-02-16 | 1 | -1/+1 |
| | |||||
* | Allow automatically detect the rustc-src directory (fixes #3517). | Benjamin Bouvier | 2021-02-13 | 4 | -14/+54 |
| | | | | | If the configured rustcSource is set to "discover", try to automatically detect a source from the sysroot rustc directory. | ||||
* | Async Loading outdir and proc-macro | Edwin Cheng | 2021-01-28 | 4 | -154/+235 |
| | |||||
* | Make logger-based debugging more pleasant | Aleksey Kladov | 2021-01-28 | 1 | -2/+3 |
| | |||||
* | Export `CARGO` for proc. macros | Jonas Schievink | 2021-01-27 | 1 | -1/+4 |
| | |||||
* | Use AbsPath | Edwin Cheng | 2021-01-22 | 1 | -3/+3 |
| | |||||
* | Refactor build script data | Edwin Cheng | 2021-01-22 | 4 | -196/+228 |
| | |||||
* | Added defined_features in PackageData | Edwin Cheng | 2021-01-21 | 2 | -5/+8 |
| | |||||
* | Avoid blocking the main loop when editing Cargo.toml | Aleksey Kladov | 2021-01-18 | 3 | -61/+93 |
| | | | | | | | | | | I've noticed a bunch of "main loop too long" warnings in console when typing in Cargo.toml. Profiling showed that the culprit is `rustc --print cfg` call. I moved it to the background project loading phase, where it belongs. This highlighted a problem: we generally use single `cfg`, while it really should be per crate. | ||||
* | Add profile call | Aleksey Kladov | 2021-01-18 | 1 | -0/+1 |
| | |||||
* | Add profile call | Aleksey Kladov | 2021-01-18 | 1 | -0/+3 |
| | |||||
* | prepare to publish el libro de arena | Aleksey Kladov | 2021-01-14 | 2 | -2/+2 |
| | |||||
* | Use --workspace when loading extern resources | Chinedu Francis Nwafili | 2021-01-14 | 1 | -1/+1 |
| | | | https://github.com/rust-analyzer/rust-analyzer/issues/5040#issuecomment-759853153 | ||||
* | Report progress for cargo metadata and output-dir | Edwin Cheng | 2021-01-07 | 2 | -14/+34 |
| |