Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move features into potential_cfg_options | Jamie Cunliffe | 2021-06-21 | 1 | -4/+11 |
| | |||||
* | Improve completion of cfg attributes | Jamie Cunliffe | 2021-06-21 | 1 | -0/+4 |
| | | | | | | | | | | | | The completion of cfg will look at the enabled cfg keys when performing completion. It will also look crate features when completing a feature cfg option. A fixed list of known values for some cfg options are provided. For unknown keys it will look at the enabled values for that cfg key, which means that completion will only show enabled options for those. | ||||
* | Implement a config override for the default #[cfg(test)] in cargo crates | Jade | 2021-06-19 | 1 | -54/+70 |
| | | | | | | | | Fixes crates which vanish when the 'test' cfg atom is set. Fix #7243. Fix #9203. Fix #7225. | ||||
* | Fix libcore not being included in rust-lang/rust module tree | Jade | 2021-06-19 | 1 | -1/+15 |
| | | | | | | | | | | | If you are opening libcore from rust-lang/rust as opposed to e.g. goto definition from some other crate which would use the sysroot instance of libcore, a `#![cfg(not(test))]` would previously have made all the code excluded from the module tree, breaking the editor experience. This puts in a slight hack that checks for the crate name "core" and turns off `#[cfg(test)]`. | ||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 1 | -6/+6 |
| | |||||
* | Add a FIXME | Kirill Bulatov | 2021-05-24 | 1 | -0/+9 |
| | |||||
* | Deal with todos | Kirill Bulatov | 2021-05-23 | 1 | -4/+14 |
| | |||||
* | Drag detached files towards loading | Kirill Bulatov | 2021-05-23 | 1 | -4/+69 |
| | |||||
* | Draft detached files retrieval | Kirill Bulatov | 2021-05-23 | 1 | -0/+3 |
| | |||||
* | Fix build script dependencies | Jonas Schievink | 2021-05-12 | 1 | -11/+23 |
| | |||||
* | Use Cargo target name as crate name | Jonas Schievink | 2021-05-11 | 1 | -1/+4 |
| | |||||
* | Discover rustc_cfg through unstable cargo options | Lukas Wirth | 2021-05-08 | 1 | -3/+4 |
| | |||||
* | Clearer naming | Aleksey Kladov | 2021-04-06 | 1 | -5/+5 |
| | |||||
* | 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 | 1 | -69/+69 |
| | | | | | | 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 | 1 | -1/+5 |
| | |||||
* | Allow automatically detect the rustc-src directory (fixes #3517). | Benjamin Bouvier | 2021-02-13 | 1 | -1/+12 |
| | | | | | 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 | 1 | -10/+43 |
| | |||||
* | Make logger-based debugging more pleasant | Aleksey Kladov | 2021-01-28 | 1 | -2/+3 |
| | |||||
* | Refactor build script data | Edwin Cheng | 2021-01-22 | 1 | -11/+9 |
| | |||||
* | Added defined_features in PackageData | Edwin Cheng | 2021-01-21 | 1 | -1/+1 |
| | |||||
* | Avoid blocking the main loop when editing Cargo.toml | Aleksey Kladov | 2021-01-18 | 1 | -61/+58 |
| | | | | | | | | | | 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 |
| | |||||
* | Report progress for cargo metadata and output-dir | Edwin Cheng | 2021-01-07 | 1 | -8/+14 |
| | |||||
* | Remove some redundant allocations | Jeremy Kolb | 2020-12-12 | 1 | -1/+1 |
| | |||||
* | Apply environment set by build scripts | 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 |
| | |||||
* | 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 | 1 | -18/+16 |
| | |||||
* | Move tricky workspace logic to a separate module | Aleksey Kladov | 2020-11-13 | 1 | -0/+607 |