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 | 2 | -2/+2 |
| | |||||
* | internal: expose cfg attrs from hir::Crate | Aleksey Kladov | 2021-05-07 | 1 | -1/+1 |
| | |||||
* | Make `ast_to_token_tree` infallible | Jonas Schievink | 2021-04-04 | 1 | -4/+4 |
| | | | | It could never return `None`, so reflect that in the return type | ||||
* | a lot of clippy::style fixes | Matthias Krüger | 2021-03-21 | 1 | -4/+4 |
| | |||||
* | Add runnables::related_tests | vsrs | 2021-02-27 | 1 | -1/+1 |
| | |||||
* | Upgrade expect-test to 1.1 | Jesse Bakker | 2021-01-03 | 1 | -1/+1 |
| | |||||
* | Remove some redundant allocations | Jeremy Kolb | 2020-12-12 | 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 | 4 | -208/+195 |
| | | | | | that way we don't have to re-check the entire project when a test is changed | ||||
* | Reorder items | Jonas Schievink | 2020-10-23 | 1 | -9/+9 |
| | |||||
* | Update crates/cfg/src/cfg_expr.rs | Jonas Schievink | 2020-10-22 | 1 | -1/+1 |
| | | | Co-authored-by: Aleksey Kladov <[email protected]> | ||||
* | Fix typo | Jonas Schievink | 2020-10-22 | 2 | -1/+2 |
| | |||||
* | Implement DNF-based `#[cfg]` introspection | Jonas Schievink | 2020-10-22 | 4 | -2/+621 |
| | |||||
* | Simplify cfg representation | Jonas Schievink | 2020-10-21 | 2 | -29/+37 |
| | |||||
* | Add description for crates that will be published | Pavan Kumar Sunkara | 2020-08-24 | 1 | -0/+1 |
| | |||||
* | Add version to deps in cargo.toml | Pavan Kumar Sunkara | 2020-08-24 | 1 | -1/+1 |
| | |||||
* | Rename ra_cfg -> cfg | Aleksey Kladov | 2020-08-13 | 3 | -0/+202 |