Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify the command execution | Kirill Bulatov | 2020-02-17 | 1 | -34/+28 |
| | |||||
* | Simplify the code further | Kirill Bulatov | 2020-02-17 | 1 | -45/+35 |
| | |||||
* | Idempotent location and installation of rust src | Kirill Bulatov | 2020-02-17 | 1 | -47/+56 |
| | |||||
* | Install rust-src when it is not found | Kirill Bulatov | 2020-02-17 | 1 | -8/+31 |
| | |||||
* | Make AtomicX type resolve again | Aleksey Kladov | 2020-02-14 | 1 | -2/+4 |
| | |||||
* | Add error context to failures in `ra_project_model` using `anyhow` crate (#3119) | Adam Bratschi-Kaye | 2020-02-13 | 3 | -20/+56 |
| | | | Add error context to failures in ra_project_model using anyhow crate | ||||
* | More specific error if `rustc --print sysroot` fails | Aleksey Kladov | 2020-02-10 | 1 | -1/+2 |
| | |||||
* | Apply the reviews suggestions | Kirill Bulatov | 2020-02-05 | 1 | -13/+30 |
| | |||||
* | Add a FIXME note | Aleksey Kladov | 2020-01-30 | 1 | -0/+3 |
| | |||||
* | Ignore illform node id from metadata | Edwin Cheng | 2020-01-28 | 1 | -2/+18 |
| | |||||
* | Address nit | Emil Lauridsen | 2020-01-10 | 2 | -2/+6 |
| | |||||
* | Slightly more robust cargo watcher root search | Emil Lauridsen | 2020-01-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2732 from detrumi/cargo-toml-not-found-message-toggle | Aleksey Kladov | 2020-01-09 | 1 | -2/+12 |
|\ | | | | | Flag to hide cargo.toml not found error | ||||
| * | Remove unneeded Box::new | Wilco Kusee | 2020-01-08 | 1 | -1/+1 |
| | | | | | | Co-Authored-By: Aleksey Kladov <[email protected]> | ||||
| * | Derive debug | Wilco Kusee | 2020-01-08 | 1 | -7/+1 |
| | | |||||
| * | Use downcasting for CargoTomlNotFoundError | Wilco Kusee | 2020-01-08 | 4 | -91/+45 |
| | | |||||
| * | Allow disabling Cargo.toml not found error | Wilco Kusee | 2020-01-03 | 1 | -2/+1 |
| | | |||||
| * | Move error to new file | Wilco Kusee | 2020-01-03 | 2 | -54/+61 |
| | | |||||
| * | Split errors into WorkspaceError enum | Wilco Kusee | 2020-01-03 | 3 | -29/+85 |
| | | |||||
* | | Better error message | Aleksey Kladov | 2020-01-09 | 1 | -2/+3 |
|/ | | | | closes #2775 | ||||
* | Only add features flags if non-empty | Edwin Cheng | 2019-12-23 | 1 | -1/+1 |
| | |||||
* | Use all-features by default | Aleksey Kladov | 2019-12-14 | 1 | -1/+7 |
| | |||||
* | Support setting cargo features | oxalica | 2019-12-13 | 2 | -7/+38 |
| | |||||
* | Merge #2381 | bors[bot] | 2019-11-24 | 3 | -1/+30 |
|\ | | | | | | | | | | | | | | | | | 2381: Add proc-macro crate type handling r=JasperDeSutter a=JasperDeSutter Resolves the libproc_macro crate in crates that are the proc-macro type. This doesn't seem the ideal implementation though, since the compiler still requires you to write `extern crate proc_macro;` (even in 2018 edition). Co-authored-by: JasperDeSutter <[email protected]> | ||||
| * | add proc-macro crate type handling | JasperDeSutter | 2019-11-24 | 3 | -1/+30 |
| | | |||||
* | | Add alloc to the sysroot | Marco Groppo | 2019-11-24 | 2 | -0/+10 |
|/ | |||||
* | Cleanup errors | Aleksey Kladov | 2019-11-22 | 1 | -3/+1 |
| | |||||
* | Add support for environment to CrateGraph | Aleksey Kladov | 2019-11-22 | 1 | -6/+19 |
| | |||||
* | return Error instead of panicking in from_cargo_metadata | Metabaron | 2019-11-12 | 1 | -7/+8 |
| | |||||
* | Implement FromStr for enum Edition | Metabaron | 2019-11-12 | 1 | -2/+5 |
| | |||||
* | Overwrite the prelude with one defined in a later dependency | Matthias Einwag | 2019-11-10 | 1 | -0/+2 |
| | | | | | | | This removes the special casing for the "core" prelude. Whenever a later dependency also exports a prelude, it will replace the formerly imported prelude. The utilized prelude then depends purely on import order. | ||||
* | Resolve core types | Matthias Einwag | 2019-11-09 | 2 | -1/+11 |
| | | | | | | | | | | | | | | | This adds support for completion and goto definition of types defined within the "core" crate. The core crate is added as a dependency to each crate in the project. The core crate exported it's own prelude. This caused now all crates to inherit the core crates prelude instead of the std crates. In order to avoid the problem the prelude resolution has been changed to overwrite an already resolved prelude if this was set to a crate named core - in order to pick a better prelude like std. Fixes #2199 | ||||
* | hard-code nightly-only CFGs | Aleksey Kladov | 2019-10-08 | 1 | -0/+8 |
| | |||||
* | use slightly more idiomatic api for cfg | Aleksey Kladov | 2019-10-08 | 1 | -13/+23 |
| | |||||
* | Use raw cfgs in json project and fix typo | oxalica | 2019-10-05 | 2 | -8/+11 |
| | |||||
* | Read default cfgs from rustc | uHOOCCOOHu | 2019-10-02 | 3 | -6/+46 |
| | |||||
* | Enable CfgOptions `test` for workspace crates | uHOOCCOOHu | 2019-10-02 | 1 | -3/+18 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 4 | -0/+8 |
| | | | | #1856 | ||||
* | introduce hir debugging infra | Aleksey Kladov | 2019-09-09 | 1 | -8/+12 |
| | | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph | ||||
* | close #1763 | ivfranco | 2019-09-05 | 1 | -1/+1 |
| | |||||
* | Make sysroot use `RUST_SRC_PATH` if set | Bastian Köcher | 2019-08-22 | 1 | -11/+21 |
| | |||||
* | don't load sysroot in most heavy tests | Aleksey Kladov | 2019-08-19 | 2 | -5/+9 |
| | |||||
* | introduce ra_vfs_glob crate | Aleksey Kladov | 2019-08-06 | 1 | -23/+0 |
| | | | | It manages exclusion rules for the vfs crate | ||||
* | cleanup imports | Aleksey Kladov | 2019-08-06 | 1 | -5/+2 |
| | |||||
* | cleanup | Aleksey Kladov | 2019-08-06 | 3 | -6/+7 |
| | |||||
* | rename | Aleksey Kladov | 2019-08-06 | 1 | -10/+10 |
| | |||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 2 | -2/+2 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 3 | -6/+6 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | add analysis-bench to benchmark incremental analysis | Aleksey Kladov | 2019-06-16 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can be used like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --complete ../chalk/chalk-engine/src/logic.rs:94:0 loading: 225.970093ms from scratch: 8.492373325s no change: 445.265µs trivial change: 95.631242ms ``` Or like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --highlight ../chalk/chalk-engine/src/logic.rs loading: 209.873484ms from scratch: 9.504916942s no change: 7.731119ms trivial change: 124.984039ms ``` "from scratch" includes initial analysis of the relevant bits of the project "no change" just asks the same question for the second time. It measures overhead on assembling the answer outside of salsa. "trivial change" doesn't do an actual salsa change, it just advances the revision. This test how fast is salsa at validating things. | ||||
* | Merge #1404 | bors[bot] | 2019-06-15 | 3 | -8/+7 |
|\ | | | | | | | | | | | | | | | | | | | 1404: Fight down failures! r=matklad a=mominul issue #1400 Now only `ra_tools` crate depends on `failure`, should I also fight those? :grin: Co-authored-by: Muhammad Mominul Huque <[email protected]> |