Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement a config override for the default #[cfg(test)] in cargo crates | Jade | 2021-06-19 | 1 | -0/+1 |
| | | | | | | | | 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)]`. | ||||
* | tree-wide: make rustdoc links spiky so they are clickable | Jade | 2021-06-14 | 1 | -1/+1 |
| | |||||
* | internal: expose cfg attrs from hir::Crate | Aleksey Kladov | 2021-05-07 | 1 | -1/+1 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2020-11-17 | 1 | -6/+0 |
| | |||||
* | cfg: move tests to separate file | Jonas Schievink | 2020-10-23 | 1 | -0/+2 |
| | | | | | that way we don't have to re-check the entire project when a test is changed | ||||
* | Fix typo | Jonas Schievink | 2020-10-22 | 1 | -1/+1 |
| | |||||
* | Implement DNF-based `#[cfg]` introspection | Jonas Schievink | 2020-10-22 | 1 | -0/+110 |
| | |||||
* | Simplify cfg representation | Jonas Schievink | 2020-10-21 | 1 | -15/+7 |
| | |||||
* | Rename ra_cfg -> cfg | Aleksey Kladov | 2020-08-13 | 1 | -0/+51 |