Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ra_cargo_watch: return Result<> from run_cargo(), and don't read stderr for now | veetaha | 2020-03-21 | 1 | -14/+13 | |
| | | | | | | | | | | | | | | As stated by matklad, reading the stderr should be done alngside with stdout via select() (or I guess poll()), there is no such implementation in stdlib, since it is quite low level and platform-dependent and it also requires quite a bit of unrelated code we don't use it for now. As referenced by bjorn3, there is an implementation of the needed read2() function in rustc compiletest. The better solution will be to extract this function to a separate crate in future: https://github.com/rust-analyzer/rust-analyzer/pull/3632#discussion_r395605298 | |||||
* | Use target-name for crate-name | Edwin Cheng | 2020-03-21 | 1 | -3/+3 | |
| | ||||||
* | Simplify Arena to use a generic index | Aleksey Kladov | 2020-03-19 | 2 | -14/+8 | |
| | ||||||
* | Simplify Sysroot | Aleksey Kladov | 2020-03-19 | 2 | -22/+20 | |
| | ||||||
* | More direct CargoWorkspace | Aleksey Kladov | 2020-03-19 | 2 | -84/+61 | |
| | ||||||
* | Use dyn-ref instead of impl to impact compile times the least | Emil Lauridsen | 2020-03-17 | 1 | -1/+1 | |
| | ||||||
* | Slight readablity improvement | Emil Lauridsen | 2020-03-17 | 1 | -1/+1 | |
| | ||||||
* | Remove outDirOverrides | Emil Lauridsen | 2020-03-17 | 1 | -8/+0 | |
| | ||||||
* | Support specifying OUT_DIR in json project | Emil Lauridsen | 2020-03-17 | 2 | -3/+22 | |
| | ||||||
* | Change existing OUT_DIR override config to make use of new infrastructure | Emil Lauridsen | 2020-03-17 | 2 | -22/+14 | |
| | ||||||
* | Support loading OUT_DIR from cargo check at launch | Emil Lauridsen | 2020-03-17 | 3 | -9/+102 | |
| | ||||||
* | Fix crate display name dashes | Kirill Bulatov | 2020-03-16 | 1 | -2/+5 | |
| | ||||||
* | Add extern source | Edwin Cheng | 2020-03-11 | 1 | -3/+10 | |
| | ||||||
* | Setup Env in world | Edwin Cheng | 2020-03-10 | 1 | -3/+15 | |
| | ||||||
* | Consider crate declaration names | Kirill Bulatov | 2020-03-08 | 1 | -6/+7 | |
| | ||||||
* | ra_project_model: migrate to Sysroot::alloc() | Veetaha | 2020-02-29 | 1 | -1/+1 | |
| | ||||||
* | keep one CargoTomlNotFoundError | nmio | 2020-02-29 | 1 | -28/+31 | |
| | ||||||
* | remove code used for testing | nmio | 2020-02-27 | 1 | -1/+1 | |
| | ||||||
* | fix unneeded body | nmio | 2020-02-27 | 1 | -6/+2 | |
| | ||||||
* | fixes and improvements | nmio | 2020-02-27 | 1 | -23/+49 | |
| | ||||||
* | clean up | nmio | 2020-02-25 | 1 | -7/+2 | |
| | ||||||
* | Initial debugging code | nmio | 2020-02-24 | 1 | -5/+42 | |
| | ||||||
* | Add suggestion for failed path resolution | Yoshua Wuyts | 2020-02-23 | 1 | -1/+1 | |
| | | | | This adds https://github.com/rust-analyzer/rust-analyzer/issues/3245 as an inline help text for when path resolution fails. | |||||
* | Update versions | Kirill Bulatov | 2020-02-18 | 1 | -5/+5 | |
| | ||||||
* | More manual clippy fixes | Kirill Bulatov | 2020-02-18 | 2 | -30/+39 | |
| | ||||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 2 | -2/+2 | |
| | ||||||
* | 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 | 4 | -20/+58 | |
| | | | 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]> |