rust-analyzer/crates
veetaha ce73c43848 ra_cargo_watch: return Result<> from run_cargo(), and don't read stderr for now
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
2020-03-21 23:37:15 +02:00
..
ra_arena Simplify Arena to use a generic index 2020-03-19 18:46:30 +01:00
ra_assists disable invert if assist for if-let to fix #3281 2020-03-21 06:40:18 -07:00
ra_cargo_watch ra_cargo_watch: return Result<> from run_cargo(), and don't read stderr for now 2020-03-21 23:37:15 +02:00
ra_cfg Update versions 2020-02-18 16:12:40 +02:00
ra_db Support loading OUT_DIR from cargo check at launch 2020-03-17 14:47:05 +01:00
ra_fmt When joining lines, unwrap trivial diverging blocks 2020-02-24 17:17:05 +01:00
ra_hir Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
ra_hir_def Simplify Arena to use a generic index 2020-03-19 18:46:30 +01:00
ra_hir_expand Fix typo 2020-03-21 23:08:53 +08:00
ra_hir_ty Move test to hir_ty 2020-03-21 23:41:07 +08:00
ra_ide Move test to hir_ty 2020-03-21 23:41:07 +08:00
ra_ide_db Use dyn Trait for working with databse 2020-03-16 17:42:30 +01:00
ra_mbe Small fixes 2020-03-16 18:46:08 +01:00
ra_parser Support arbitrary discriminants 2020-03-20 08:50:34 +01:00
ra_prof Allow specifying additional info on call to profile 2020-03-06 17:36:51 +01:00
ra_project_model ra_cargo_watch: return Result<> from run_cargo(), and don't read stderr for now 2020-03-21 23:37:15 +02:00
ra_syntax Add identity expansion checking 2020-03-21 22:43:48 +08:00
ra_text_edit Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_tt Make MBE expansion more resilient (WIP) 2020-03-16 18:38:19 +01:00
rust-analyzer More direct CargoWorkspace 2020-03-19 17:53:31 +01:00
test_utils Move verbose tests out of line 2020-03-13 12:20:42 +01:00